[GH-ISSUE #2175] Unable to redirect for localhost port #1560

Closed
opened 2026-02-26 07:31:33 +03:00 by kerem · 5 comments
Owner

Originally created by @DiogoMarques2003 on GitHub (Jul 28, 2022).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2175

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug
I tried to redirect a part of localhost to the domain and memso didn't work

Nginx Proxy Manager Version
jc21/nginx-proxy-manager:latest@sha256:7c775dbb91f2e5feebddd764dbfd76fd013235a1fd9b1215f44082cddc26ccad

Screenshots
image
image

Operating System
ubuntu server 20

Originally created by @DiogoMarques2003 on GitHub (Jul 28, 2022). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2175 <!-- Are you in the right place? - If you are looking for support on how to get your upstream server forwarding, please consider asking the community on Reddit. - If you are writing code changes to contribute and need to ask about the internals of the software, Gitter is the best place to ask. - If you think you found a bug with NPM (not Nginx, or your upstream server or MySql) then you are in the *right place.* --> **Checklist** - Have you pulled and found the error with `jc21/nginx-proxy-manager:latest` docker image? - Yes - Are you sure you're not using someone else's docker image? - Yes - Have you searched for similar issues (both open and closed)? - Yes **Describe the bug** I tried to redirect a part of localhost to the domain and memso didn't work **Nginx Proxy Manager Version** jc21/nginx-proxy-manager:latest@sha256:7c775dbb91f2e5feebddd764dbfd76fd013235a1fd9b1215f44082cddc26ccad **Screenshots** ![image](https://user-images.githubusercontent.com/52538977/181484299-a76e0a74-eb1b-44a9-bc38-b1808dcb9207.png) ![image](https://user-images.githubusercontent.com/52538977/181484328-2458ad2b-f16a-4388-ba15-34e4519af721.png) **Operating System** ubuntu server 20
kerem 2026-02-26 07:31:33 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@the1ts commented on GitHub (Aug 27, 2022):

I'm seeing this hostname is working, I take it this is fixed and can be closed?

<!-- gh-comment-id:1229323116 --> @the1ts commented on GitHub (Aug 27, 2022): I'm seeing this hostname is working, I take it this is fixed and can be closed?
Author
Owner

@DiogoMarques2003 commented on GitHub (Sep 29, 2022):

@the1ts no, isn't working, i'm using directly the IP do host and bot de localhost

<!-- gh-comment-id:1262672221 --> @DiogoMarques2003 commented on GitHub (Sep 29, 2022): @the1ts no, isn't working, i'm using directly the IP do host and bot de localhost
Author
Owner

@the1ts commented on GitHub (Sep 29, 2022):

@DiogoMarques2003 don't you have to use docker with containers on network=host for containers and host to share localhost between containers and host?

<!-- gh-comment-id:1262682516 --> @the1ts commented on GitHub (Sep 29, 2022): @DiogoMarques2003 don't you have to use docker with containers on network=host for containers and host to share localhost between containers and host?
Author
Owner

@DiogoMarques2003 commented on GitHub (Sep 29, 2022):

@DiogoMarques2003 don't you have to use docker with containers on network=host for containers and host to share localhost between containers and host?

I don't know, but i can trie affter

<!-- gh-comment-id:1262716106 --> @DiogoMarques2003 commented on GitHub (Sep 29, 2022): > @DiogoMarques2003 don't you have to use docker with containers on network=host for containers and host to share localhost between containers and host? I don't know, but i can trie affter
Author
Owner

@DiogoMarques2003 commented on GitHub (Sep 30, 2022):

@the1ts this work thanks

<!-- gh-comment-id:1263306188 --> @DiogoMarques2003 commented on GitHub (Sep 30, 2022): @the1ts this work thanks
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#1560
No description provided.