Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
12-05-2019 12:44 PM
Hello, I have unpacked the linux tar distribtion of neo4j. I have sucessfully invoked it via ./bin/neo4j console
I now have two ports that I can visit neo4j on, but they are both on localhost. and localhost is just a text-based linux box.
Attempting to visit port 7687 with the links text browser yields "not a Websocket handshake request: missing upgrade"
And i cannot visit port 7687 or port 7474 from a remote machine and get a response (even though I am able to visit web apps running on other ports just fine).
Solved! Go to Solution.
12-05-2019 03:49 PM
That's because you are not supposed to visit the neo4j web ui on that port.. that's where bolt runs (whatever bolt is).
That's because those ports are blocked in your firewall. You need to set your port to 30000 or higher.
Below works fine:
#*****************************************************************
# 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
# 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
# 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=:30000
# HTTP Connector. There can be zero or one HTTP connectors.
dbms.connector.http.enabled=true
dbms.connector.http.listen_address=:30009
# HTTPS Connector. There can be zero or one HTTPS connectors.
dbms.connector.https.enabled=true
dbms.connector.https.listen_address=:30019
12-05-2019 02:26 PM
Hello,
Check your neo4j.conf
file, specifically the "Network connector configuration" section. You should see an entry like this:
# 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
By uncommenting you should allow for non-local connections.
12-05-2019 03:49 PM
That's because you are not supposed to visit the neo4j web ui on that port.. that's where bolt runs (whatever bolt is).
That's because those ports are blocked in your firewall. You need to set your port to 30000 or higher.
Below works fine:
#*****************************************************************
# 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
# 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
# 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=:30000
# HTTP Connector. There can be zero or one HTTP connectors.
dbms.connector.http.enabled=true
dbms.connector.http.listen_address=:30009
# HTTPS Connector. There can be zero or one HTTPS connectors.
dbms.connector.https.enabled=true
dbms.connector.https.listen_address=:30019
All the sessions of the conference are now available online