araczkowski / docker-oracle-apex-ords

Oracle Express Edition 11g Release 2 on Ubuntu 14.04.1 LTS with APEX 5.1.1 and ORDS 3.0.9 on Tomcat
https://hub.docker.com/r/araczkowski/oracle-apex-ords/
Other
46 stars 35 forks source link

Connection refused #9

Open omarsawalhah opened 7 years ago

omarsawalhah commented 7 years ago

After Successfully installing and starting this image I got this error

ssh root@localhost -p 49160 ssh: connect to host localhost port 49160: Connection refused docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES d74ba2f4933b araczkowski/oracle-apex-ords "/entrypoint.sh" 52 minutes ago Up 52 minutes 0.0.0.0:1521->1521/tcp, 0.0.0.0:8080->8080/tcp, 0.0.0.0:49160->22/tcp oracleapex

Regards,

araczkowski commented 7 years ago

try to connect from your host to a ruining container via docker's attach command

by ID: $ sudo docker attach d74ba2f4933b or by Name $ sudo docker attach araczkowski/oracle-apex-ords

omarsawalhah commented 7 years ago

While the docker daemon is running

sudo docker attach araczkowski/oracle-apex-ords Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

anand-gondkar commented 4 years ago

Hi, I am also facing same issue. I just did below in my Windows env docker - docker pull araczkowski/oracle-apex-ords docker run -d --name ora -p 49160:22 -p 8080:8080 -p 1521:1521 araczkowski/oracle-apex-ords

$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES da618da70c52 araczkowski/oracle-apex-ords "/entrypoint.sh" 32 minutes ago Up 31 minutes 0.0.0.0:1521->1521/tcp, 0.0.0.0:8080->8080/tcp, 0.0.0.0:49160->22/tcp ora

http://localhost:8080/ords/apex --> this doesn't connect I tried below - $ ssh root@localhost -p 49160 ssh: connect to host localhost port 49160: Connection refused

Appreciate your pointers on this. Thanks.

araczkowski commented 4 years ago

Hi, I don't have Windows to check. It was developed and tested on Linux. Don't know how docker works on Windows, maybe the issue is with docker - not mapping ports to localhost on Windows. There is a bigger discusion here https://github.com/docker/for-win/issues/204

You can try to check the solution/workaround from the end of this topic and try to access <docker-machine ip>:<exposed port> instead of localhost:<exposed port>.

Or you can try to connect from your host to a ruining container via docker's attach command

by ID: $ sudo docker attach da618da70c52 or by Name $ sudo docker attach araczkowski/oracle-apex-ords

good luck