Sorry, I was not clear.
I want to change the "Connect URL" field content that is displayed when Firefox open the browser URL without rewriting it everytime I start Firefox
Well,
with this line added the field connection URL shows correctly
bolt://192.168.166.206:7687
But the connectionfails with the error
ServiceUnavailable: WebSocket connection failure. Due to security constraints in your web browser
which afaik indicates a certificate problem for a connection started inside an httpsconnection
Changing the URL to theone used before
https://192.168.166.206:7473
gives an error
Neo.ClientError.Security.Unauthorized: Invalid username or password.
trying to connect again connets to the database (on chromium a popup appears and you have to click cancel)
My network configuration is:
#*****************************************************************
# 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=192.168.166.206
dbms.connector.bolt.advertised_address=192.168.166.206:7687
dbms.connector.https.advertised_address=192.168.166.206:7473
# 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=0.0.0.0:7687
# HTTP Connector. There can be zero or one HTTP connectors.
dbms.connector.http.enabled=true
dbms.connector.http.listen_address=0.0.0.0:7474
# HTTPS Connector. There can be zero or one HTTPS connectors.
dbms.connector.https.enabled=true
dbms.connector.https.listen_address=0.0.0.0:7473
# Number of Neo4j worker threads.
#dbms.threads.worker_count=
I found several differences in the conf file between neo4j version.
I'm using the latest 3.5.0 CE. What is your version?
This is my network config fragment, and it is running fine. As you can see some default listen address are defaulted (remember, this is for 3.5.0!)
#*****************************************************************
# 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=:7687
dbms.connector.bolt.advertised_address=neo4j:7687
# HTTP Connector. There can be zero or one HTTP connectors.
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
# Number of Neo4j worker threads.
#dbms.threads.worker_count=
Well,
I'm using the linux version on Kubuntu18.04.1 downloaded from here
https://neo4j.com/download-center/#releases
downloaded file name
neo4j-community-3.5.0-unix.tar.gz
The differences in the file are due to the fact that I need to access the database from a different machine
With the default configuration you can only access the database from localhost
Moreover putting only the line
dbms.connectors.default_listen_address=0.0.0.0
doesn't work. To use remotely https strangely you have to add "0.0.0.0" also in the connectors
If you specify 0.0.0.0 as the default.listen.address, you can access the DB from any machine.
My config file is used on a Ubuntu SERVER machine without a GUI, and I access the DB thru the browser of any machine of my intranet (there is a firewall to avoid others access the DB).
IMHO, you should avoid to use fixed IP addresses and let the DNS do the job.
for https, I know there should be some trouble to config, and maybe you should issue/use some certificates!
if you get a look at the neo4j.conf in the 3.5.0, there are two entire section named SSL system conf and SSL policy configuration after the Network Connector Configuration
There are some will be deprecated there.
I try to config, but after some hours I decide to let the problem when this part of the confg will be more stable.
It will securely change and, for me, it is better to work on the content now, using http.
Hi Can you please help Im a beginner. I cannot establish connection to server. the first time I installed Neo4j it worked very well, now I cant connect to server and I constantly get a connect server error