Connect to remote Neo4j

I just installed a latest version of Neo4j community version through apt and neo4j repository on ubuntu server :

deb stable 4.1

My neo4j version is neo4j 4.1.2

There is a problem, when I'm changing configuration to the blow for remote connection :


it seems that it will works only on IPv6 :

$sudo netstat -tpuln | grep java
tcp6       0      0 :::7687                 :::*                    LISTEN      49021/java          
tcp6       0      0 :::7474                 :::*                    LISTEN      49021/java 

if I change it back to :


I mean comment that line and

change this line :

# Bolt connector

# HTTP Connector. There can be zero or one HTTP connectors.

the netstat output will be the same:

tcp6       0      0 :::7687                 :::*                    LISTEN      49518/java          
tcp6       0      0 :::7474                 :::*                    LISTEN      49518/java 

whats wrong with neo4j? whats the problem?!?!!>?!

It seems Neo4j only binds to ipv6. I guess adding

should do the trick. Or you can switch off ipv6 on OS level.