Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Docker Ports not exposed

Featured Replies

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: 

image.thumb.png.a4565c321d6666a5ce145a5eaccba7b5.png

What can i do to fix this?

 

Thanks

Gizmoh

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)

  • Author

Okay, i've removed the port mappings, the port . 8083 ist still accessable but no change for the other ports. 

  • Author
On 11/23/2018 at 2:26 PM, bonienl said:

What does it show for ports on the docker page?

image.png.07b654e80116b2201d58ea00bf3d081f.png

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.