Aspiration Tao
Aspiration Tao

Reputation: 31

how to access neo4j server with only one port

We're using neo4j server 3.1.4

We want to deploy neo4j server behind nginx, and our environment just allow one port:80 for nginx.

But neo4j browser need HTTP port(default 7474), and bolt port(default 7687). So we config nginx to access HTTP port, we failed to connect bolt port. It reported WebSocket connection error, for we can't access another port.

We checked the neo4j.conf & documentation,and found no useful information.

So, Is there any way to access neo4j server with only one port(80)? Can anyone help us with this situation?

screen errors

Upvotes: 0

Views: 486

Answers (1)

logisima
logisima

Reputation: 7478

Neo4j browser is just a client for the database, and in a prod env, I never give access to it by the outside.

So in your case, I will just map the bolt port to the 80 one on nginx.

And if you want access to Neo4j with a browser, you should consider to use the Neo4j Desktop application, and configure a remote database.

Upvotes: 0

Related Questions