[GH-ISSUE #199] Port conflict #175

Open
opened 2026-02-26 01:35:20 +03:00 by kerem · 3 comments
Owner

Originally created by @nelsonblaha on GitHub (Sep 9, 2019).
Original GitHub issue: https://github.com/JLiscom/OpenNote/issues/199

No matter what port I choose in place of 6984, docker-compose can't finish:


ERROR: for 8cd3635f2118_downloads_opennote_1  Cannot start service opennote: driver failed programming external connectivity on endpoint downloads_opennote_1 (e5934c6720a478f0331b87a6c6fa0c09527fe968b0a755d2226ea2ef12cb24c5): Bind for 0.0.0.0:46984 failed: port is already allocated

ERROR: for opennote  Cannot start service opennote: driver failed programming external connectivity on endpoint downloads_opennote_1 (e5934c6720a478f0331b87a6c6fa0c09527fe968b0a755d2226ea2ef12cb24c5): Bind for 0.0.0.0:46984 failed: port is already allocated
ERROR: Encountered errors while bringing up the project.

I'm using various ports on the left(host) side and leaving the values as they are on the container side.

Originally created by @nelsonblaha on GitHub (Sep 9, 2019). Original GitHub issue: https://github.com/JLiscom/OpenNote/issues/199 No matter what port I choose in place of 6984, docker-compose can't finish: ```Recreating 8cd3635f2118_downloads_opennote_1 ... error ERROR: for 8cd3635f2118_downloads_opennote_1 Cannot start service opennote: driver failed programming external connectivity on endpoint downloads_opennote_1 (e5934c6720a478f0331b87a6c6fa0c09527fe968b0a755d2226ea2ef12cb24c5): Bind for 0.0.0.0:46984 failed: port is already allocated ERROR: for opennote Cannot start service opennote: driver failed programming external connectivity on endpoint downloads_opennote_1 (e5934c6720a478f0331b87a6c6fa0c09527fe968b0a755d2226ea2ef12cb24c5): Bind for 0.0.0.0:46984 failed: port is already allocated ERROR: Encountered errors while bringing up the project. ``` I'm using various ports on the left(host) side and leaving the values as they are on the container side.
Author
Owner

@JLiscom commented on GitHub (Nov 2, 2019):

See what is using that port sudo netstat -ltnp | grep -w ': 46984'

<!-- gh-comment-id:549086285 --> @JLiscom commented on GitHub (Nov 2, 2019): See what is using that port `sudo netstat -ltnp | grep -w ': 46984'`
Author
Owner

@paulbono commented on GitHub (Sep 9, 2020):

I'm seeiung this issue as well using the stock docker-compose.yml (described here https://github.com/FoxUSA/OpenNote/blob/master/docs/Install.md)
netstat returns empty

<!-- gh-comment-id:689694454 --> @paulbono commented on GitHub (Sep 9, 2020): I'm seeiung this issue as well using the stock docker-compose.yml (described here https://github.com/FoxUSA/OpenNote/blob/master/docs/Install.md) netstat returns empty
Author
Owner

@paulbono commented on GitHub (Sep 9, 2020):

@nelsonblaha to get around this I commented out the duplicate port line in the opennote container portion
# - 6984:6984

Not sure if it's needed but I have a running copy of the server so I don't think it is.

<!-- gh-comment-id:689726476 --> @paulbono commented on GitHub (Sep 9, 2020): @nelsonblaha to get around this I commented out the duplicate port line in the opennote container portion `# - 6984:6984` Not sure if it's needed but I have a running copy of the server so I don't think it is.
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/OpenNote-JLiscom#175
No description provided.