cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Neo4j 4 ERR_CONNECTION_REFUSED

I've been running neo4j 3.5 from a docker container on a ubuntu 18.04 server. I do my development and browsing from a windows box on the same LAN, using the Chrome browser. This is my startup script:

docker run \
--publish=7474:7474 --publish=7687:7687 \
--volume=$HOME/neo4j/data:/data \
--volume=$HOME/neo4j/logs:/logs \
--env NEO4JLABS_PLUGINS='["apoc"]' \
--env NEO4J_AUTH=neo4j/test \
--name=neo4j \
--restart=always \
--detach \
neo4j:3.5.19

This has worked nice as pie.

I killed and removed that container then changed the last line of the script to neo4j:latest and ran the script again. I browse to http://192.168.0.200:7474/browser/ same as before and I get the following:

It took me a day to figure out that the issue is related to the browser. I spent another day trying everything I could find to fix the browser issue. I've given up for now and gone back to version 3.5.

If anyone can shed some light on this it would be most appreciated.

1 ACCEPTED SOLUTION

I had another go at this today. Here is what I did:

  1. Reset all Chrome settings to default.
  2. docker system prune
  3. docker run
    --publish=7474:7474 --publish=7687:7687
    --volume=$HOME/neo4j/data:/data
    --volume=$HOME/neo4j/logs:/logs
    --env NEO4JLABS_PLUGINS='["apoc"]'
    --env NEO4J_AUTH=neo4j/test
    --name=neo4j
    --restart=always
    --detach
    neo4j:latest

Now it is working!

Thank you Jaun for your suggestion, it worked like a charm.

View solution in original post

2 REPLIES 2

jggomez
Graph Voyager

Hi, I think that this is a browser error. Please you can review your firewall, cache, proxy settings or extensions...

Thanks

I had another go at this today. Here is what I did:

  1. Reset all Chrome settings to default.
  2. docker system prune
  3. docker run
    --publish=7474:7474 --publish=7687:7687
    --volume=$HOME/neo4j/data:/data
    --volume=$HOME/neo4j/logs:/logs
    --env NEO4JLABS_PLUGINS='["apoc"]'
    --env NEO4J_AUTH=neo4j/test
    --name=neo4j
    --restart=always
    --detach
    neo4j:latest

Now it is working!

Thank you Jaun for your suggestion, it worked like a charm.