[GH-ISSUE #3426] [Question] Is there any way to change web admin port 81 to another port? #2290

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

Originally created by @amintyrabbit on GitHub (Jan 2, 2024).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3426

I'm afraid this is right place to ask this question, but I can't find helpful knowledge or more proper place to ask.

I want change web admin port 81 to another port(ex. 13001). (NOT HTTP/HTTPS Port)
I need this feature because I'm going to run NPM container on host network.

Is there any way to change web admin port or could you add this feature?

Originally created by @amintyrabbit on GitHub (Jan 2, 2024). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3426 I'm afraid this is right place to ask this question, but I can't find helpful knowledge or more proper place to ask. I want change **web admin port 81** to another port(ex. 13001). (NOT HTTP/HTTPS Port) I need this feature because I'm going to run NPM container on host network. Is there any way to change web admin port or could you add this feature?
Author
Owner

@tilalx commented on GitHub (Jan 2, 2024):

Altering the web administration port for Nginx Proxy Manager (NPM) within Docker typically involves adjusting the Docker compose file or the Docker run command. Isn't this a viable approach?

<!-- gh-comment-id:1873810208 --> @tilalx commented on GitHub (Jan 2, 2024): Altering the web administration port for Nginx Proxy Manager (NPM) within Docker typically involves adjusting the Docker compose file or the Docker run command. Isn't this a viable approach?
Author
Owner

@github-actions[bot] commented on GitHub (Jul 15, 2024):

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

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

@ghost commented on GitHub (Jul 23, 2024):

Altering the web administration port for Nginx Proxy Manager (NPM) within Docker typically involves adjusting the Docker compose file or the Docker run command. Isn't this a viable approach?

To my understanding they are most likely trying to figure out how to change the port in a config file rather than set the public port to be whatever they require and leave the host port to 81.

But to answer your question, It's not something you can really change, you can edit /etc/nginx/conf.d/production.conf
It's more of a pain to do this rather than to just, assign a different public port.

<!-- gh-comment-id:2244718702 --> @ghost commented on GitHub (Jul 23, 2024): > Altering the web administration port for Nginx Proxy Manager (NPM) within Docker typically involves adjusting the Docker compose file or the Docker run command. Isn't this a viable approach? To my understanding they are most likely trying to figure out how to change the port in a config file rather than set the public port to be whatever they require and leave the host port to 81. But to answer your question, It's not something you can really change, you can edit `/etc/nginx/conf.d/production.conf` It's more of a pain to do this rather than to just, assign a different public port.
Author
Owner

@omuleanu commented on GitHub (Mar 9, 2025):

Altering the web administration port for Nginx Proxy Manager (NPM) within Docker typically involves adjusting the Docker compose file or the Docker run command. Isn't this a viable approach?

when using "host" network, ports specified in compose have no effect

<!-- gh-comment-id:2709030038 --> @omuleanu commented on GitHub (Mar 9, 2025): > Altering the web administration port for Nginx Proxy Manager (NPM) within Docker typically involves adjusting the Docker compose file or the Docker run command. Isn't this a viable approach? when using "host" network, ports specified in compose have no effect
Author
Owner

@github-actions[bot] commented on GitHub (Sep 9, 2025):

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

<!-- gh-comment-id:3268604065 --> @github-actions[bot] commented on GitHub (Sep 9, 2025): 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#2290
No description provided.