Gizmoh Posted November 22, 2018 Share Posted November 22, 2018 Hello, i've installed a custom Docker countainer which exposes 8 different Ports (8083, 8084, 8085, 2222, 7072, 9001, 8060, 8099). The container is in host mode. I can reach the webinterface of the docker application on port 8083. Ther Ports 8084, 8085 and 8099 should also give access to the webinterface but i only get a "ERR_CONNECTION_REFUSED" error in my browser. On the unraid server i get this netstat output for the ports: root@Unraid:~# netstat -lptun | grep 8084 tcp 0 0 127.0.0.1:8084 0.0.0.0:* LISTEN 17145/perl root@Unraid:~# netstat -lptun | grep 8083 tcp 0 0 0.0.0.0:8083 0.0.0.0:* LISTEN 17145/perl So why is the port 8083 bound to 0.0.0.0 and the 8084 Port bound to 127.0.0.1? The configuration in the Docker file (https://github.com/Gizmoh1683/fhem_unraid/blob/master/Dockerfile): ("EXPOSE 2222 7072 8083 8084 8085 9001 8099") and the docker configuration in unraid for the port that works an the other ports is the same: What can i do to fix this? Thanks Gizmoh Quote Link to comment
Squid Posted November 22, 2018 Share Posted November 22, 2018 5 hours ago, Gizmoh said: The container is in host mode. Not that I can answer the question per se, but will state that the time and effort in applying port mappings to a container that runs in host mode is a complete waste of time. The container in host mode has the ability to open any particular port which it may or may not need, and port mappings do not affect it at all (ie: look at any of the Plex Containers -> not a single port is mapped) Quote Link to comment
Gizmoh Posted November 23, 2018 Author Share Posted November 23, 2018 Okay, i've removed the port mappings, the port . 8083 ist still accessable but no change for the other ports. Quote Link to comment
bonienl Posted November 23, 2018 Share Posted November 23, 2018 What does it show for ports on the docker page? Quote Link to comment
Gizmoh Posted November 26, 2018 Author Share Posted November 26, 2018 On 11/23/2018 at 2:26 PM, bonienl said: What does it show for ports on the docker page? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.