Skip to content

Cannot connect to docker's redislabs/redisgraph #84

Open
@jockehewh

Description

@jockehewh

i am using a Docker container to run redisgraph.

Yesterday i connected well using the basic-redisgraph-movie-demo-app-nodejs and could follow the tutorial (without redisinsight).

Today i tried to do it by myself but when i try to connect nothing happens, no errors the program runs indefinitely.
i use the code below to establish the connection then it is all like in the example.
`const RedisGraph = require("redisgraph.js").Graph;

let graph = new RedisGraph("social", "127.0.0.1", "6379");

console.log('creating users')
console.log(graph._client.connected) // <- false
`
Any ideas why?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions