neueda / jetbrains-plugin-graph-database-support

Graph Databases support for JetBrains family IDEs.
Apache License 2.0
221 stars 56 forks source link

Unable to setup with neo4j inside VM #13

Closed Anahkiasen closed 7 years ago

Anahkiasen commented 7 years ago

I have a neo4j connection within a VirtualBox VM, but I can't manage to make it work in PHPStorm. The neo4j instance is configured to accept remote connections, and I can access it from outside the box:

$ curl 192.168.10.18:7474
{
  "management" : "http://192.168.10.18:7474/db/manage/",
  "data" : "http://192.168.10.18:7474/db/data/"
}

However trying this in PHPStorm I get the following error:

screen shot 2016-11-28 at 17 29 28

Is there anything else to configure besides what's mentioned in #5?

FylmTM commented 7 years ago

Hi @Anahkiasen,

Plugin is working only with Bolt connections. You are specifying port "7474" which corresponds to HTTP connector.

You should use "7687" port, which is used for Bolt connections by default.

You can check you configuration for "dbms.connector.*" properties in neo4j.conf.

Also I believe that you will need to forward Bolt ports from VM to host machine.