Starting Neo4j failed: Address localhost:7474 is already in use, cannot bind to it on Mac OSX

情到浓时终转凉″ 提交于 2020-01-19 17:32:07

问题


I'm trying to install a neo4j server on my localhost (mac osx - El-capitan) and i'm getting this error -

Starting Neo4j failed: Address localhost:7474 is already in use, cannot bind to it.

I tried to stop the port from running and then install it throw the neo4j install app, but it still give this error

When i try to start the neo4j server it gives me this error :

./usr/local/bin/neo4j: line 229: [: too many arguments


回答1:


Try to kill your java processes :

sudo killall -9 java

Then restart your neo4j server :

./bin/neo4j restart



回答2:


Same problem using Win 10, I had to turn off https-support in neo4j-server.properties, i.e.

\# Turn https-support on/off
org.neo4j.server.webserver.https.enabled=false



回答3:


You don’t need to install anything. Just download the linux tar.gz package, uncompress it and use the terminal to run the command ‘./bin/neo4j console’ to run it in console mode. You can start it in background too but based on your question, it sounds like this is just a dev machine.



来源:https://stackoverflow.com/questions/37797281/starting-neo4j-failed-address-localhost7474-is-already-in-use-cannot-bind-to

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!