khj
khj

Reputation: 21

Unable to start Neo4j on port 80

I am using CentOS.

I am unable to start neo4j on port 80. Starting on port 7474 works, but for my case, my school only allows me to expose port 80 to the public. I am having trouble starting it: it is stuck at "waiting for server to be ready............." and does not finish up.

If I am using sudo service neo4j-service start, I get the error message "rm: cannot remove '/neo4j-test/data/neo4j-service.pid': No such file or directory".

Suspecting it could be apache that prevents me from using port 80, I have used yum to uninstall httpd, however, the problem persists.

What could be possible reasons that I am unable to start neo4j on port 80?

Upvotes: 1

Views: 1043

Answers (2)

Skywalker
Skywalker

Reputation: 1

You might want to try changing the user from "neo4j" to "root" in order to use port 80:

wrapper.user=root
wrapper.user.created=false

It works for me in Linux.

Upvotes: 0

Mohamed Ismail Mansour
Mohamed Ismail Mansour

Reputation: 1053

Try modifying the last line from the file conf/neo4j-wrapper.conf from

wrapper.user=neo4jwrapper.user.created=false

to

wrapper.user=neo4j
wrapper.user.created=false

Upvotes: 0

Related Questions