I have a neo4j server running on a GCE Ubuntu 16.04 instance, and I want to access it in my local browser. When I type in the address in the browser, it throws a DNS error. What can I do to connect? This is what I've done so far:
Added firewall rules on GCE to enable remote hosts to listen on ports 7474 and 7473.
Changed the following lines in /etc/neo4j/neo4j.conf:
# 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
# Bolt connector
dbms.connector.bolt.enabled=true
#dbms.connector.bolt.tls_level=OPTIONAL
dbms.connector.bolt.listen_address=:7687
# HTTP Connector. There must be exactly one HTTP connector.
dbms.connector.http.enabled=true
dbms.connector.http.listen_address=:7474
# HTTPS Connector. There can be zero or one HTTPS connectors.
dbms.connector.https.enabled=true
dbms.connector.https.listen_address=:7473
Netstat output:
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp6 0 0 :::7687 :::* LISTEN
tcp6 0 0 :::7473 :::* LISTEN
tcp6 0 0 :::7474 :::* LISTEN
Every time I start neo4j (service neo4j start, and not just neo4j start), it says the following:
Jul 12 18:43:50 instance-1 neo4j[2003]: 2017-07-12 18:43:50.188+0000 INFO ======== Neo4j 3.2.2 ========
Jul 12 18:43:50 instance-1 neo4j[2003]: 2017-07-12 18:43:50.358+0000 INFO Starting...
Jul 12 18:43:54 instance-1 neo4j[2003]: 2017-07-12 18:43:54.119+0000 INFO Bolt enabled on 0.0.0.0:7687.
Jul 12 18:44:03 instance-1 neo4j[2003]: 2017-07-12 18:44:03.511+0000 INFO Started.
Jul 12 18:44:08 instance-1 neo4j[2003]: 2017-07-12 18:44:08.037+0000 INFO Remote interface available at http://localhost:7474/
targetTags
that include the tag from your instance? – Dave Bennett