Did you configure your Neo4j server to listen on the external interface?

It's explained in the docs here:
https://neo4j.com/docs/operations-manual/current/configuration/connectors/

On Tue, Feb 12, 2019 at 8:58 AM <andrea.balz...@keypartner.it> wrote:

> Hi everyone, i'm fairly new to neo4j and i've been experimenting a bit
> using Neo4j Java Driver to populate a neo4j database on a standalone
> server. It's been working fine as long as the application and the server
> were running on the same machine (i was using bolt://localhost:port as
> uri), but now that i moved the server on a different machine it's giving me
> a "ServiceUnavailableException: Failed to establish connection with the
> server"
>
> driver = GraphDatabase.driver("bolt://" + neo4jSettings.NEO4J_HOSTNAME +
> ":" + neo4jSettings.NEO4J_PORT, AuthTokens.basic(neo4jSettings.
> NEO4J_USERNAME, neo4jSettings.NEO4J_PASSWORD))
>
> I'm not sure what is going wrong, but i can reach the machine just fine so
> the problem has to be somewhere else and my best guess is that i have to
> change something inside the .conf file, can anyone point me in the right
> direction please? Thanks in advance
>
> Andrea
>
> --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to neo4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to