mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #834] bind() to 0.0.0.0:80 failed (98: Address in use) #706
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#706
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 @clemone210 on GitHub (Jan 21, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/834
Checklist
Yes
Yes
I think its not a Lets Encrypt Issue
Describe the bug
While starting the docker-compose file the nginx proxy manager is not able to bind the address. No other container uses the allocated ports. I also tried to change the port, but the isse is the same. When I start it, it puts out endless error log contianing this:
not able to see the login page.
Operating System
Ubuntu Server 20.04 LTS with docker snap installed
Can you help me in any way?
@clemone210 commented on GitHub (Jan 21, 2021):
I think I made a stream host entry to forward port 80 to a different one. Could that be the issue?
How can I revert this? Maybe this is the issue?
@clemone210 commented on GitHub (Jan 21, 2021):
It was the issue. I renamed the config for the stream host to a .bakcup file and after startup it worked.
@techc0de commented on GitHub (Feb 10, 2021):
Hi,
I having the same issue whenever restart the NPM container or recreate it in Portainer.
Any idea why ?
Docker Logs
npm db:
@virse commented on GitHub (Feb 16, 2021):
Same here on my site.
After upgrade to 2.8.0 without any changes in the config I receive the same "Addres in use" messages. Recreate the container or a restart did not solved the problem.
Any help is appreciated.
mike
@niklasschroetler commented on GitHub (Feb 19, 2021):
Unfortunately, same here...
@MohamedElashri commented on GitHub (Apr 9, 2021):
This problem still without a solution, did anyone figure out how to solve?
@lachlan334 commented on GitHub (Jun 23, 2021):
I am also having this exact issue.
@Sperryfreak01 commented on GitHub (Dec 27, 2021):
I was previously using the :2 tag, and when I updated to :latest I started having this issue. Rolled back to the :2 tag and it started working great again.
@chaptergy commented on GitHub (Dec 29, 2021):
Theoretically
:2and:latestshould currently point to the same version.So for all of you you haven't created stream hosts for any of the standard ports
80,443or81? Then please check which process is claiming these ports by running(Only the output of the second line is relevant)
@fabifri commented on GitHub (Dec 31, 2021):
Unfortunately i am having the same issue; prior to starting the npm-container, i checked on used ports (bindings) with
netstat -tulpnand i got nothing. Nothing was claiming 80, 443 or 81. After starting the npm-container, everything seems to work, webinterface as well as the proxy hosts. However my logfile is being constantly spammed full with error messages:and besides from that, there is also a mysterious port 3000 involved now:
only issue this is creating at the moment is, that for currently it is not possible to renew any letsencrypt certificates.
when the time for my certificates runs out, in the end, i probably need to completely reinstall npm and create my proxy hosts from scratch.
@Sperryfreak01 commented on GitHub (Dec 31, 2021):
I have no stream clients set up. Before switching from the latest to the 2 label I ran netstat looking for what running on the ports... nothing was holding the ports.
@Go2Engle commented on GitHub (Jan 6, 2022):
Im also getting the same thing with those ports not in use. =[
@iambdud commented on GitHub (Feb 5, 2022):
I am also getting this same error. Strange thing is that NPM still seems to be working fine?
@Go2Engle commented on GitHub (Feb 5, 2022):
I ended up just wiping out my NPM and starting fresh and haven't had any issues since.
@iambdud commented on GitHub (Feb 5, 2022):
I did the same, and it was fine for a little while and then started with the errors again. I only have proxy hosts configured.
FWIW, I was using the --net=host option. I changed it and i'm specifying the ports now. No errors so far... we'll see how it goes.
@Go2Engle commented on GitHub (Feb 5, 2022):
Hmmm ok I'll keep an eye out!
@iambdud commented on GitHub (Feb 6, 2022):
Same thing happening today even using the -p options. Here is the netstat output on the host without the container running:
Here it is after the container is started:
Should I open a new issue?
@ahmadnassri commented on GitHub (Dec 18, 2022):
I've dealing with this same issue for months ... logs stuck in infinite loop
output of
netstat -tulpn | grep 80output of
netstat -tulpn | grep 443output of
netstat -tulpn | grep 81it seems to fail at binding ports
80,81,443...the only thing that solves it is a restart of the docker container, which works fine, then after some time it repeats again ... I tried wiping it all out and starting all over again from scratch, and the same problem occurs
@Go2Engle commented on GitHub (Dec 18, 2022):
Did you delete data directories as well? That's what I had to do to fix it.
@ahmadnassri commented on GitHub (Dec 18, 2022):
yep, nuked the whole data directory.
@iambdud commented on GitHub (Dec 21, 2022):
I’m still having this “issue”. I put issue in quotes because it does not seem to impact anything… I’m currently proxying several different sites without issue.
@IvanKhramov commented on GitHub (Mar 3, 2023):
This problem still without a solution, did anyone figure out how to solve?
@kreddad commented on GitHub (Mar 28, 2023):
check here for temporary solution
https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2750
@MauOnline commented on GitHub (Jul 31, 2025):
Wow, still there in 2025. Not really inspiring. Why is the ticket is closed?
@clemone210 commented on GitHub (Jul 31, 2025):
the issue is not present anymore with latest version on my side, feel free to open a new issue if you have this problem and reference to this one.
@cd-slash commented on GitHub (Sep 23, 2025):
I am still seeing the same issue in Sept 2025
@HendrikHaase commented on GitHub (Oct 12, 2025):
The issue still persists. What info can i provide to narrow it down?
i recall it occured some minutes after adding a a new host (just creating the host, no new ssl cert or anything that requires external communication)
@adamef93 commented on GitHub (Jan 25, 2026):
Still a very active problem, this shouldn't be closed