xiu shi
xiu shi

Reputation: 757

Neo4j websocket connection timeout on Google Compute Engine

I'm currently running Neo4j on Google Cloud with in a Compute Engine VM running Ubuntu. The 7474 port works as expected, however I'm receiving the following message when trying to connect to server:

WebSocket connection to 'ws://<ip>:7687/' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT

I checked the conf/neo4j.conf for dbms.connector.bolt.address=0.0.0.0:7687 and it's not commented out.

I checked the firewall, and there is a rule for port 7687, so what else could cause this?

Thanks in advance for the help

Update:

I was able to use the cypher-shell from the VM's command line, which connects to bolt://localhost:7687

Upvotes: 3

Views: 736

Answers (1)

xiu shi
xiu shi

Reputation: 757

It turns out the issue was with neither GCP nor neo4j. The company where I work for has a firewall blocking the port, and that's why I wasn't able to connect to the database using the browser. Dataflow in Compute Engine had no problem connecting to neo4j.

Upvotes: 1

Related Questions