Connecting to Gremlin-Server
If you are using the default Gremlin Server docker image, you can get the server running with the following commands:
docker pull tinkerpop/gremlin-server:latestdocker run -p 8182:8182 \ tinkerpop/gremlin-server:latest \ conf/gremlin-server-rest-modern.yamlThen open Graph Explorer and add a new connection with the following settings:
- Name:
Gremlin Server - Query Language:
Gremlin - Public or Proxy Endpoint:
https://localhost - Using Proxy Server:
true - Graph Connection URL:
http://localhost:8182
Enable REST
Section titled “Enable REST”Graph Explorer only supports HTTP(S) connections. When connecting to Gremlin-Server, ensure it is configured with a channelizer that supports HTTP(S) (i.e. Channelizer Documentation).
Versions Prior to 3.7
Section titled “Versions Prior to 3.7”If you have a version of Gremlin Server prior to 3.7, you will need to make the following changes:
- Enable property returns - Remove “.withStrategies(ReferenceElementStrategy)” from
/scripts/generate-modern.groovyso that properties are returned. - Enable string IDs - Change
gremlin.tinkergraph.vertexIdManagerandgremlin.tinkergraph.edgeIdManagerin/conf/tinkergraph-empty.propertiesto support string ids. You can useANY. - Build and run the Docker container as normal.