[GH-ISSUE #3943] How to deal with bind issues with default/standard ports - New Ports? #2582

Open
opened 2026-02-26 07:36:05 +03:00 by kerem · 5 comments
Owner

Originally created by @nodecentral on GitHub (Aug 20, 2024).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3943

Is your feature request related to a problem? Please describe.

With so many ports and different set ups in use out there - and by looking at the number of related support issues raised - people are often faced with bind issues whenever I’m setting up containers that n want to use more of the default network setting.

Is there a way for NPM to better handle that..

If I simply try the quick start guide on my QNAP NAS, it instantly has an issue with port 443 (see below). - For a quick start guide if would be great if there was a very low likelihood of an error being encountered..

Failed to create application "npm". Error message: operateApp action …. Error response from daemon: driver failed programming external connectivity on endpoint npm-app-1 (18dae2dcc7eee4f9348dcc89824df962d8d62d60f1148ec79795521854a587fc): listen tcp4 0.0.0.0:443: bind: address already in use

Describe the solution you'd like

In situation where someone is only trying to access other docker containers, can NPM make use of its own ports and remove their emphasis on the defaults ? I appreciate it might require a new port exposed but it would be one dedicated and monitored by NPM?

Originally created by @nodecentral on GitHub (Aug 20, 2024). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3943 **Is your feature request related to a problem? Please describe.** <!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] --> With so many ports and different set ups in use out there - and by looking at the number of related support issues raised - people are often faced with bind issues whenever I’m setting up containers that n want to use more of the default network setting. Is there a way for NPM to better handle that.. If I simply try the quick start guide on my QNAP NAS, it instantly has an issue with port 443 (see below). - For a quick start guide if would be great if there was a very low likelihood of an error being encountered.. ```` Failed to create application "npm". Error message: operateApp action …. Error response from daemon: driver failed programming external connectivity on endpoint npm-app-1 (18dae2dcc7eee4f9348dcc89824df962d8d62d60f1148ec79795521854a587fc): listen tcp4 0.0.0.0:443: bind: address already in use ```` **Describe the solution you'd like** In situation where someone is only trying to access other docker containers, can NPM make use of its own ports and remove their emphasis on the defaults ? I appreciate it might require a new port exposed but it would be one dedicated and monitored by NPM?
Author
Owner

@cjboyle commented on GitHub (Aug 28, 2024):

Maybe I'm misreading your issue, but normally nginx/NPM should bind to the standard ports (80:80, 443:443), and your apps should be bound to non-standard ports (e.g. 10080:80, 10443:443, or as required by each app).

Do you know what is currently using :443, e.g. is it a QNAP web UI, or another container?

<!-- gh-comment-id:2316383462 --> @cjboyle commented on GitHub (Aug 28, 2024): Maybe I'm misreading your issue, but normally nginx/NPM should bind to the standard ports (80:80, 443:443), and your apps should be bound to non-standard ports (e.g. 10080:80, 10443:443, or as required by each app). Do you know what is currently using :443, e.g. is it a QNAP web UI, or another container?
Author
Owner

@nodecentral commented on GitHub (Aug 30, 2024):

Running a quick check, the QNAP UI / control panel seems to suggest my TLS https web port is 8081, yet going into the command line and doing a look up, I can see there is something associated with 443, but I have no idea what it is - although the other apache_proxys entries are for the non TLS http web port of 8080..???

apache_proxys    7555   admin     IPv6  TCP     *:443
apache_proxys    8679   admin     IPv6  TCP     *:443
apache_proxys    28712  admin     IPv6  TCP     *:443
<!-- gh-comment-id:2322131316 --> @nodecentral commented on GitHub (Aug 30, 2024): Running a quick check, the QNAP UI / control panel seems to suggest my TLS https web port is 8081, yet going into the command line and doing a look up, I can see there is something associated with 443, but I have no idea what it is - although the other apache_proxys entries are for the non TLS http web port of 8080..??? ```` apache_proxys 7555 admin IPv6 TCP *:443 apache_proxys 8679 admin IPv6 TCP *:443 apache_proxys 28712 admin IPv6 TCP *:443 ````
Author
Owner

@github-actions[bot] commented on GitHub (May 18, 2025):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:2888715118 --> @github-actions[bot] commented on GitHub (May 18, 2025): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@falciloid commented on GitHub (Jun 27, 2025):

I have an another replication of this issue. RouterOS 7.19.2. Container will interfere with service (SSTP server) that use same port (443). It won't interfere right after container start, but it will after container restart.

Image

UPD: It seems I find a root for this issue in my case. I will create a stream to 443 port. Maybe it also make sense in other cases

<!-- gh-comment-id:3012981789 --> @falciloid commented on GitHub (Jun 27, 2025): I have an another replication of this issue. RouterOS 7.19.2. Container will interfere with service (SSTP server) that use same port (443). It won't interfere right after container start, but it will after container restart. ![Image](https://github.com/user-attachments/assets/d7ed5b04-08bc-4f67-8bd4-8b33158907c6) UPD: It seems I find a root for this issue in my case. I will create a stream to 443 port. Maybe it also make sense in other cases
Author
Owner

@github-actions[bot] commented on GitHub (Jan 14, 2026):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:3747383046 --> @github-actions[bot] commented on GitHub (Jan 14, 2026): Issue is now considered stale. If you want to keep it open, please comment :+1:
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#2582
No description provided.