Websocket connection Failure: Day one it worked, Day Two failed - Neo4j Desktop

On Day One install neo4j and started the tutorials and exercises, it worked and connected and was starting to get into graph databases

One Day Two: I have got WebSocket connection failure: Due to Security constraints in your web browser. I have tried multiple issues of the different solutions offered:
From various help pages, i have tried some of solutions with no success and some solution are not necessarily in my wheel house.

From the log I am getting the following issue that I believe is indicating the issue.

  • Neo4j @ 7687 is down. connect ECONNREFUSED 127.0.0.1:7687
  • Neo4j @ 7474 is down. connect ECONNREFUSED 127.0.0.1:7474

Any suggestions would be appreciated.

Andrew

1 Like

We as able to solve problem by setting the both port 7687 to 127.0.0.1:7687 and 127.0.0.1:7474 in the Neo4j.conf file.

dbms.connector.bolt.listen_address=127.0.0.1:7687
dbms.connector.http.listen_address=127.0.0.1:7474

1 Like

Thank you for posting this --- I also ran into the same issues but missed your post as I didn't realize that you were also using Neo4j Desktop locally only.. (i.e. no Cloud)