Unable to connect to bolt on linux server from desktop

I installed Neo4j community edition on Linux Server and when I try to connect from browser on my Mac, I was able to launch the browser at :7474 successfully but :server connect to bolt server seems to take forever to connect. Once I connect when I do the match (n) return count(n) I am getting the following error:

WebSocket connection failure. Due to security constraints in your web browser, the reason for the failure is not available to this Neo4j Driver. Please use your browsers development console to determine the root cause of the failure. Common reasons include the database being unavailable, using the wrong connection URL or temporary network problems. If you have enabled encryption, ensure your browser is configured to trust the certificate Neo4j is configured to use. WebSocket readyState is: 3

Bolt connector settings from neo4j.conf looks like this :

Bolt connector

dbms.connector.bolt.enabled=true

#dbms.connector.bolt.tls_level=OPTIONAL

#dbms.connector.bolt.listen_address=0.0.0.0:7687

dbms.connector.bolt.listen_address=192.168.1.184:7687

#dbms.connector.bolt.listen_address=:7687

#dbms.connector.bolt.advertised_address=0.0.0.0:7687

Thanks

I think I solved my issue:

I have to set the following to get it working. IP address is of the box where I have my Neo4J running.

dbms.default_advertised_address=192.168.1.184

Thanks

1 Like