Problems accessing Neo4j Server

Im running an instance of neo4j community installed via apt on my headless server. I managed to get a browser instance running on <my_server_ip>:7474 by adding the lines server.default_listen_address=0.0.0.0 and server.default_advertised_address=<my_server_ip>.
However i cannot connect through neo4j-desktop.
I dont know if i actually need to get it working through neo4j-desktop, but it would be nice. Im overwhelmed by the number of unhelpful (because not enough info) or outdated docs. If anyone could give me a direction, that would be nice.

Running the server with sudo runuser -l neo4j -c 'neo4j start’ instead of sudo runuser -l neo4j -c 'neo4j console' worked. Now it is suddenly accesible through neo4j-desktop.

@joost.rehder

just a point of clarification. neo4j console is a foreground process, whereas neo4j start is a background process. If you start as console and you then terminate the connection from where neo4j console was run then you can no longer connect. However if you start as neo4j start and then terminate the connection from where neo4j start was run, you will still be able to connect

1 Like

Obviously. But running neo4j console, I was able to connect via <my_server_ip>:7474 as I said, just not with the neo4j desktop aplication. Running now with neo4j start I am able to connect via neo4j desktop.
And since I dont think I changed any config between running console and start, it could be that start uses the config slightly different.