mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #2643] Custom port mapping ignored #1831
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#1831
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mindonwarp on GitHub (Mar 2, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2643
Hi guys, I'm sorry if I'm posting a duplicate but I couldn't find what I was looking for.
I just installed the proxy manger as a docker container and created custom port mappings like so:

However, I can't reach the admin page on 8181 like I entered but I can reach the page at 81. I suspect the other ports have the same issue. Is this a known issue or am I doing something wrong?
I can't use the default ports since those are used by the host machine and I can't change them.
Thanks!
@sebasdt commented on GitHub (Mar 3, 2023):
Have you tried to restart the stack/containers? That did the job for me.
@mindonwarp commented on GitHub (Mar 3, 2023):
I have, several times. I have a feeling that these ports are fixed internally and can't be changed.
Perhaps that's the expected behavior?
@sebasdt commented on GitHub (Mar 4, 2023):
the ports on the inside the container are hardcodes into nginx proxy manager I beleve.
The other ones shouldn't have a issue. have you tried to access the site via a private/incognito window?
On my end it just works for changing the admin web port.
@sebasdt commented on GitHub (Mar 17, 2023):
Any updates? Otherwise please close the issue and mark ik as resolved.
@mindonwarp commented on GitHub (Mar 17, 2023):
Nginx does use the ports 80 and 443 internally and those can't be changed, but it should be possible to map those internal ports to any other host port. I wasn't able to achieve that.
I did however change the setup so that I can use the default ports on host as well, i.e. 80:80 and 443:443.
I'll close the issue with a comment: "can't reproduce".
@mindonwarp commented on GitHub (Mar 17, 2023):
Others can't reproduce the issue.