prabushitha / gremlin-visualizer

visualize a graph network corresponding to a gremlin query
MIT License
230 stars 72 forks source link

Trying to query on local gremlin server but its not working #19

Closed mayuresh-kumbhar closed 3 years ago

mayuresh-kumbhar commented 3 years ago

I tried to query on local gremlin server but its not working, please refer attached snippet for more details.

Any pointers if I am missing anything

Running in dockerrized mode docker run --rm -d -p 3000:3000 -p 3001:3001 --name=gremlin-visualizer prabushitha/gremlin-visualizer:latest

Nodes in Graph : image

Error image

prabushitha commented 3 years ago

Instead of localhost for the host can you try with host.docker.internal as host since localhost of the docker container and host machine is not the same. or simply map the network with --network=host

docker run --rm -d -p 3000:3000 -p 3001:3001 --name=gremlin-visualizer --network=host prabushitha/gremlin-visualizer:latest
prabushitha commented 3 years ago

closing due to inactivity

abramyk-mv commented 2 years ago

@prabushitha I faced the same issue and your response helped me to fix it. Thank you!

Instead of localhost for the host can you try with host.docker.internal as host since localhost of the docker container and host machine is not the same. or simply map the network with --network=host

docker run --rm -d -p 3000:3000 -p 3001:3001 --name=gremlin-visualizer --network=host prabushitha/gremlin-visualizer:latest