mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #2015] Not Able To Open Nginx Proxy Manager Admin Panel #1458
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#1458
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 @Rajeshsahoo12 on GitHub (Apr 19, 2022).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2015
I have deployed nginx proxy manager on docker containers. But recently I am not able to access admin panel of the NPM. When I open my remote host at port 81. It gives me below error.
Here I have attached logs from portainer for nginx app. Kindly suggest how to access. As I am not able to any access any external website hosted on server ip.
_nginx_app_1_logs.txt
Only able to access portainer at 9000 port.
Not able to access jellyfin at port 8096 & npm admin panel page at port 81.
Thanks.
@itsKV commented on GitHub (Apr 21, 2022):
Have you forwarded port 81 on iptables and on Oracle subnet security list?
@Rajeshsahoo12 commented on GitHub (Apr 21, 2022):
@itsKV Yeah on oracle cloud infrastructure website under compute --> instance --> subnet security list. I have opened port 81 as per below. And it was working fine before 10-15 days. With the same port opened settings. Nothing I have changed. Aprt from my internet connectivity pattern.
But now I am not able to access admin panel of NPM & jellyfin which is my personal media server.
Note : Internet connectivity pattern got changed as earlier I was using fibernet bb connection. Which I have terminated now due to service issues. Currently I am using mobile hotspot.
@itsKV commented on GitHub (Apr 21, 2022):
What about iptables rules? Have you checked them? They might have modified meanwhile..
Your vps service managed by Oracle is same as it was previously. Your mobile device, being client, it doesn't matter how you were/are accessing the vps; let it be cellular or fiber.
@Rajeshsahoo12 commented on GitHub (Apr 21, 2022):
Ip table rules is related to oracle cloud vps or anything else..? No I haven't checked them..
@Rajeshsahoo12 commented on GitHub (Apr 21, 2022):
Yup the same provider. I having nothing changed. Just left un-used for a few days. Thats it. What I have setup I was using it well.
Now it doesn't work..
@itsKV commented on GitHub (Apr 21, 2022):
Try following command from your laptop/desktop and again on your vps's ssh session terminal. Paste the both responses here.
curl -is http://152.70.75.91:81@Rajeshsahoo12 commented on GitHub (Apr 21, 2022):
Have tried on vps ssh session. Below is the output. Nothing happens.
And on local machine which is windows 10 based pc. Have tried on terminal. Here below is the output. Nothing happens.
@itsKV commented on GitHub (Apr 21, 2022):
r u sure docker is running?
@Rajeshsahoo12 commented on GitHub (Apr 21, 2022):
Here I have attached the SS.
And logs from nginx app are here. I think here only some issues are there. Because nginx db logs are looking fine. They are here.
Nginx app logs : https://pastebin.com/GaEtBj14
Nginx db logs : https://pastebin.com/gWi1bYFW
@itsKV commented on GitHub (Apr 21, 2022):
Try running the following command on VPS's terminal.
curl -is http://172.19.0.3:81@Rajeshsahoo12 commented on GitHub (Apr 21, 2022):
Nothing happens. Blank response.
@itsKV commented on GitHub (Apr 21, 2022):
there it is.
Your host is unable to reach your docker container. How could it serve the request on public interface then?
@itsKV commented on GitHub (Apr 21, 2022):
Try once this command in vps's terminal.
sudo docker exec -it nginx_app_1 curl -is http://172.19.0.3:81@Rajeshsahoo12 commented on GitHub (Apr 21, 2022):
Ohhh. Okay. So, do we have to fix it on portainer panel or elsewhere..?
@Rajeshsahoo12 commented on GitHub (Apr 21, 2022):
Tried now. Below is the result.
@Rajeshsahoo12 commented on GitHub (Apr 21, 2022):
Is this a problem on portainer..? I have 2 volumes here.
@itsKV commented on GitHub (Apr 21, 2022):
wait a minute..
This reply shows either there is issue in docker network running between host and containers OR Admin panel is not running on npm container.
I don't use portainer. So can't say about it. But that can be solved via terminal commands.
@Rajeshsahoo12 commented on GitHub (Apr 21, 2022):
As earlier I have attached logs for both npm app & db. By looking them, npm app logs are showing issues.
Nginx app logs : https://pastebin.com/GaEtBj14
Nginx db logs : https://pastebin.com/gWi1bYFW
@Rajeshsahoo12 commented on GitHub (Apr 21, 2022):
Ohh. Okay.
@itsKV commented on GitHub (Apr 21, 2022):
The best way is to re-install the npm. That works most of the times.. ;)
@Rajeshsahoo12 commented on GitHub (Apr 21, 2022):
That is where the problem I am facing. I am unable to remove my deployed stacks. As they show limited control. This happened due to update of portainer.
@itsKV commented on GitHub (Apr 21, 2022):
This Limited Control error usually occurs when you have deployed some of the containers outside portainer using docker-compose command.
Below command will delete the npm container. After that deploy the fresh npm container using portainer.
Do the same for all the containers showing limited control error and re-deploy them via portainer.
@itsKV commented on GitHub (Apr 23, 2022):
What's the update?
@ririko5834 commented on GitHub (May 28, 2022):
I have the same problem
@ririko5834 commented on GitHub (May 28, 2022):
@Joweran commented on GitHub (Jun 1, 2022):
I had the same problem, and i managed to get through by giving full permission access to the folder from which i was launching the docker-compose up -d command to run the nginx proxy manager stack : sudo chmod -R 777 ./
@Amarildoo commented on GitHub (Jul 1, 2022):
I have the same problem, using Oracle Cloud, Ubuntu 20.04.
Updated using
apt update && apt upgrade.Rebooted the system, and nginx-proxy-manager was not working.
Container was started using:
docker run -d --name=nginx-proxy-manager --restart unless-stopped --network nginxproxymanager -p 80:80 -p 81:81 -p 443:443 -v "$PWD/data":/data -v "$PWD/letsencrypt":/etc/letsencrypt jc21/nginx-proxy-manager:latestFirewall in Oracle Cloud and in Host (using iptables) is unchanged (ports are opened).
Error logs:
'Fixed' by reinstalling N.P.M.
sudo docker rm -f nginx-proxy-managersudo docker image rm <image-id>docker run -d --name=nginx-proxy-manager --restart unless-stopped --network nginxproxymanager -p 80:80 -p 81:81 -p 443:443 -v "$PWD/data":/data -v "$PWD/letsencrypt":/etc/letsencrypt jc21/nginx-proxy-manager:latest@CyberAdmin97 commented on GitHub (Sep 29, 2022):
any updates ?
i have the same issue on AWS
@0x10-z commented on GitHub (Dec 20, 2022):
Same issue on AWS Linux 2 machine
@ChildLearningClub commented on GitHub (Mar 29, 2023):
Make sure your Nginx Proxy Manager image is current:
docker run -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once.This was my issue.
Note: the code snippet above will update everything not only your Nginx Proxy Manager.
EDIT: Okay, looks like there is actually two issue that people might be having. Initially I was not able to even reach the login interface, that was solved with updating the image as mentioned above. Once the image was updated and the login interface was showing I was unable to login without as @Joweran says changing the folders permissions to 777.
Version 2.10.1
@parthdevloper commented on GitHub (Oct 7, 2023):
If you are using AWS Lightsail , you need to go to:
& then add a new rule to enable port
81:@github-actions[bot] commented on GitHub (Apr 30, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@Nightwalker83 commented on GitHub (Dec 2, 2024):
I am having the same problem too both through localhost and the servers actual ip.
https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4197
@github-actions[bot] commented on GitHub (Aug 16, 2025):
Issue is now considered stale. If you want to keep it open, please comment 👍