Websocket uses the wrong port
dysbulic opened this issue · 2 comments
dysbulic commented
This program attempts to connect on port 7687
, I'm using the neo4j.rb rake tasks and the daemon listens on 7472
.
I don't know if this is the case for all modern versions of the daemon or not.
fbiville commented
Thanks for the report!
I am not sure I am following. As far as I understand, there is no Websocket involved here, just a regular Bolt connection to the database, which happens indeed on the default Bolt port, i.e. 7687
.
You can set an explicit port as in:
neo4j.driver("bolt://localhost:7472", neo4j.auth.basic("neo4j", "abcde"));
And it should work for your particular setup?