[GH-ISSUE #3859] nginx: [emerg] bind() to 0.0.0.0:3478 failed (98: Address already in use) #2535

Closed
opened 2026-02-26 07:35:55 +03:00 by kerem · 2 comments
Owner

Originally created by @leon1995 on GitHub (Jul 6, 2024).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3859

Describe the bug
I added a stream from port 3478 to 3478, then I restarted the docker container and now I cannot start it, because I am getting errors

app         | nginx: [emerg] bind() to 0.0.0.0:3478 failed (98: Address already in use)
app         | nginx: [emerg] bind() to 0.0.0.0:3478 failed (98: Address already in use)
app         | nginx: [emerg] bind() to 0.0.0.0:3478 failed (98: Address already in use)
app         | nginx: [emerg] bind() to 0.0.0.0:3478 failed (98: Address already in use)
app         | nginx: [emerg] bind() to 0.0.0.0:3478 failed (98: Address already in use)
app         | nginx: [emerg] still could not bind()

Is there a way to remove the stream mapping manually?

Originally created by @leon1995 on GitHub (Jul 6, 2024). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3859 <!-- 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.* --> **Describe the bug** I added a stream from port 3478 to 3478, then I restarted the docker container and now I cannot start it, because I am getting errors ``` app | nginx: [emerg] bind() to 0.0.0.0:3478 failed (98: Address already in use) app | nginx: [emerg] bind() to 0.0.0.0:3478 failed (98: Address already in use) app | nginx: [emerg] bind() to 0.0.0.0:3478 failed (98: Address already in use) app | nginx: [emerg] bind() to 0.0.0.0:3478 failed (98: Address already in use) app | nginx: [emerg] bind() to 0.0.0.0:3478 failed (98: Address already in use) app | nginx: [emerg] still could not bind() ``` Is there a way to remove the stream mapping manually?
kerem 2026-02-26 07:35:55 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@leon1995 commented on GitHub (Jul 6, 2024):

I was able to fix this, by first removing the stream config rm data/nginx/stream/<problematic_config>. Then I was able to start the docker and deleted the stream from the webinterface

<!-- gh-comment-id:2211856371 --> @leon1995 commented on GitHub (Jul 6, 2024): I was able to fix this, by first removing the stream config `rm data/nginx/stream/<problematic_config>`. Then I was able to start the docker and deleted the stream from the webinterface
Author
Owner

@Benzeel commented on GitHub (Feb 20, 2026):

thank you so much, this helped fix my issue

<!-- gh-comment-id:3937558744 --> @Benzeel commented on GitHub (Feb 20, 2026): thank you so much, this helped fix my issue
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#2535
No description provided.