Dear Experts,
Thank you for reading this topic. I am having a difficult time connecting to my Sandbox's Graph Algorithm from my Java Maven code.
Below is my connection credential:
User: neo4j
Connection URL: bolt://ws-10-0-1-214-33664.neo4jsandbox.com:443
I use the Java code in https://neo4j.com/developer/java/ and inputted the user, the connection url mentioned, as well as my password to HelloWorldExample class. However, when I run the code, I get the following error,
Feb 03, 2020 7:20:02 PM org.neo4j.driver.internal.logging.JULogger info
INFO: Direct driver instance 1349414238 created for server address ws-10-0-1-214-33664.neo4jsandbox.com:443
org.neo4j.driver.internal.InternalDriver@506e6d5e
Feb 03, 2020 7:20:02 PM org.neo4j.driver.internal.logging.JULogger info
INFO: Closing driver instance 1349414238
Feb 03, 2020 7:20:02 PM org.neo4j.driver.internal.logging.JULogger info
INFO: Closing connection pool towards ws-10-0-1-214-33664.neo4jsandbox.com:443
org.neo4j.driver.exceptions.ClientException: Server responded HTTP. Make sure you are not trying to connect to the http endpoint (HTTP defaults to port 7474 whereas BOLT defaults to port 7687)
I am not sure what the last line means, it says "Make sure you are not trying to connect to the http endpoint".
I also ran the code with different URLs such as bolt://ws-10-0-1-214-33664.neo4jsandbox.com:7686 and bolt://ws-10-0-1-214-33664.neo4jsandbox.com:7474 and it still can't connect to the database.
Thanks!
Kevin