Hello,
I have written a python script to execute queries on a remote Neo4j server. However, after updating my version of Neo4j last week I am having a difficult time connecting to the Neo4j database and, consequently, running my queries against it. I've tried bolt based and http based connections but to no avail. I've checked my neo4j.conf file to confirm that it matches my previous version where I could connect.
Below you will find the relevant section of my .conf file and the .log file where database start up and remote interface is successful., can someone help my troubleshoot my connection problems?
Neo4j.Log File
2020-02-25 00:30:54.128+0000 INFO ======== Neo4j 3.5.14 ========
2020-02-25 00:30:54.134+0000 INFO Starting...
2020-02-25 00:30:56.670+0000 INFO Deprecated index providers in use: lucene+native-2.0 (15 indexes). Use procedure 'db.indexes()' to see what indexes use which index provider.
2020-02-25 00:31:00.778+0000 INFO Bolt enabled on 0.0.0.0:7687.
2020-02-25 00:31:01.816+0000 INFO Started.
2020-02-25 00:31:02.849+0000 INFO Remote interface available at http://<MY IP>:7474/
Conf File
#*****************************************************************
#Network connector configuration
#*****************************************************************
#With default configuration Neo4j only accepts local connections.
#To accept non-local connections, uncomment this line:
dbms.connectors.default_listen_address=0.0.0.0
#dbms.connectors.default_listen_address=localhost
#You can also choose a specific network interface, and configure a non-default
#port for each connector, by setting their individual listen_address.
#The address at which this server can be reached by its clients. This may be the server's IP address or DNS name, or
#it may be the address of a reverse proxy which sits in front of the server. This setting may be overridden for
#individual connectors below.
#dbms.connectors.default_advertised_address=localhost
#dbms.connectors.default_advertised_address=0.0.0.0
dbms.connectors.default_advertised_address=<MY IP>
#You can also choose a specific advertised hostname or IP address, and
#configure an advertised port for each connector, by setting their
#individual advertised_address.
#Bolt connector
dbms.connector.bolt.enabled=true
#dbms.connector.bolt.tls_level=OPTIONAL
dbms.connector.bolt.listen_address=:7687
#HTTP Connector. There can be zero or one HTTP connectors.
dbms.connector.http.enabled=true
dbms.connector.http.listen_address=<MY IP>:7474
#HTTPS Connector. There can be zero or one HTTPS connectors.
dbms.connector.https.enabled=true
#dbms.connector.https.listen_address=:7473
#Number of Neo4j worker threads.
#dbms.threads.worker_count=
You can see that I was messing with the local connection in my default_advertised_address section.
Thanks for the help!