If you are running it on localhost you have to provide neither host nor port

Just running 

Neo4jShell.bat

should be enough to connect to the running server if the server has 
remote_shell_enabled=true
configured and restarted.

Michael

> Am 20.01.2016 um 14:35 schrieb Uwe <[email protected]>:
> 
> Hello,
> 
> I am running into an issue that seems to have been reported frequently over 
> the last years but there is no clear resolution path. Basically I am trying 
> to do something simple: running a cypher script file using the Neo4jshell 
> sinc ethe Neo4j browser only supports single cypher statements. However, it 
> returns a " Connection refused to host" error. I have tried all the hints I 
> have found but I'll need a hand; thanks in advance for any input you can 
> provide:
> 
> So I ran the command line for the 2.3.1 community edition on Win7 from the 
> Neoj Options / Command prompt buttons with and without these options:
> 
> 1. Provide specifically the IP adress and port name in the shell command 
> using the -host 127.0.0.1 and -port 1337 commands, same with 10.37.150.106 
> (current IP address from IPConfig)
> 
> 2. Provide the database dictionary folder using the -path option
> 
> 3. Insert lines into the neo4j.properties file:
> 
> remote_shell_enabled=true
> remote_shell_host=10.37.150.106
> remote_shell_port=1337
> 
> and respectively 
> 
> remote_shell_enabled=true
> remote_shell_host=127.0.0.1
> remote_shell_port=1337
> 
> 
> PS: 
> - I do not have write access to the /etc/hosts file; in any case it only 
> contains commented lines. In order to exclude issues specific to the local 
> network I have also connected my machine to the internet via mobile phone and 
> gave the new IP Adress afterwards in the shell command.and retried Point 1 
> from above.
> 
> - The netstat command shows nothing on the 1337 port, only the 7474 port for 
> the Neo4j browser
> 
> - I am not aware of a firewall issue either
> 
> I suspect there is an issue with the network setup but I am a non-technical 
> person, so my apologies for any strange questions I come up with.
> 
> uwe
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to