Hi, I have a strange bug as I'm unable to connect to remote shell with
neo4j 3.0.6 from a machine A to B. The server B (ip address192.168.10.204)
First, dbms.shell.enabled=true and dbms.shell.host=0.0.0.0 (and port) are
of course set in neo4j.conf
I dig into this bug and got several situations.
At the begining, when I launched shell in machine A :
Shell$ ./neo4j-shell -host 192.168.10.204 -port 1337 -v
Welcome to the Neo4j Shell! Enter 'help' for a list of commands
NOTE: Remote Neo4j graph database service 'shell' at port 1337
neo4j-sh (?)$ return "1";
Connection refused to host: 127.0.1.1; nested exception is:
java.net.ConnectException: Connection refused
Digging deeply in this bug, I played with /etc/hosts file and RMI flags and
tried different things (for instance by commenting line with 127.0.1.1
My situation now :
127.0.1.1 debian-jessie.vagrantup.com debian-jessie
The flags I add in neo4j-wrapper.conf are these :
With these flags, Neo4j start. If I set -Djava.rmi.server.hostname=0.0.0.0
it refused to start:
Caused by: java.rmi.UnknownHostException: Unknown host: 0.0.0.0; nested
java.net.UnknownHostException: debian-jessie: debian-jessie: unknown
Now Neo4j accept to start, I can try to connect remotely, so I get :
$ ./neo4j-shell -host 192.168.10.204 -port 1337 -v
ERROR (-v for expanded information):
Unknown host: debian-jessie.vagrantup.com; nested exception is:
java.rmi.UnknownHostException: Unknown host: debian-jessie.vagrantup.com;
nested exception is:
I tested a random port (like 50587, RMI used to use these kind of ports) to
know if they are closed by default in my linux, and they are open.
I don't know what to do...
Any advices ?
By advance, thank you
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.