Docker Community Forums

Share and learn in the Docker community.

Port forwarding Problems


(Holzfelix) #1

Hi Together,

I’ve got a debian server with docker. I creaded a docker container with debian / apache and webrick server.

Now my problem is webrick runs on Port 3000 but I can’t access it.

I run the container like this:

docker run -d -it -p 3000:3000 -p 80:80 -p 55:22 --name container containername /bin/bash

Portforwarding for port 80:80 works and 55:22 also … but why does I can’t access my webrick

I only want www.mydomain.de:3000


(Holzfelix) #2

problem solved … its an webrick problem I had