Hi,

I have the following setup:

docker run -d --name orientdb-3-1-1-tp3 -p 2424:2424 -p 2480:2480 -p 8182:8182
^
    -e ORIENTDB_ROOT_PASSWORD=MyPassword ^
    orientdb:3.1.1-tp3

I run the above command on Windows to get a docker container with OrientDB.

var client = new GremlinClient(new GremlinServer("172.17.0.2", 8182, false, 
"root", "myPassword"), graphSONReader: reader);
var connection = new DriverRemoteConnection(client);


With the above 2 lines I can connect to the database with Gremlin.NET from 
another docker container (.Net-Core running inside a docker container).

With this setup, the connection works fine.

Now the Problem:

1. I copied the config folder of the tar.gz of the same version used above 
to a local folder. The docker build replaces the gremlin-server.yaml, so I 
did the same using the file from the repository.
The tar.gz 
-> 
https://s3.us-east-2.amazonaws.com/orientdb3/releases/3.1.1/orientdb-tp3-3.1.1.tar.gz
The repository -> 
https://github.com/orientechnologies/orientdb-docker/tree/aed159fad95d387cb6797559504596043b129f2f/release/3.1.x/3.1.1-tp3

2. After step 1, I mount the config folder like this:

docker run -d --name orientdb-3-1-1-tp3 -p 2424:2424 -p 2480:2480 -p 8182:8182
^
    -v G:/Adventuries/Docker/Volumes/OrientDB-Config:/orientdb/config ^
    -e ORIENTDB_ROOT_PASSWORD=MyPassword ^
    orientdb:3.1.1-tp3

I thought this would have the same behavior as the original setup, only 
that I now get access to the config files and could start tweaking them 
from here.

Instead, now my gremlin.net connection fails with a "Remote connection 
refused"

What did I do wrong? What configuration changed by adding the external 
volume?

If someone could help me figuring this out, it would be much appreciated.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/orient-database/aad734fe-c578-46ed-abcd-ca9caff895c2o%40googlegroups.com.

Reply via email to