Docker Community Forums

Share and learn in the Docker community.

Error connecting to docker container


(Marionray) #1

HI,

I installed a service on a remote Linux computer using docker. I used the following commands

  • git clone
  • npm install -g http-server
  • http-server openvidu-tutorials/openvidu-getaroom/web
  • docker run -p 4443:4443 --rm -e openvidu.secret=MY_SECRET -e openvidu.publicurl=https://187.84.228.66:4443 openvidu/openvidu-server-kms

But when I try do connect the first time, I receive the follow error menssage: “ERR_EMPTY_RESPONSE”. sometime “ERR_CONNECTION_CLOSED”

I used the following diagnostic command in Linx computer “docker ps” and received the following response:

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
21b0620266cd openvidu/openvidu-server-kms:latest "/usr/bin/supervisor 5 days ago Up 5 days 8443/tcp, 8888/tcp, 0.0.0.0:4443->4443/tcp, 9091/tcp sick_ritchie

What is wrong? How can I solve this?

If anyone can help me, I’m grateful.

Fernando