OpenNote icon indicating copy to clipboard operation
OpenNote copied to clipboard

Port conflict

Open nelsonblaha opened this issue 6 years ago • 3 comments

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.

nelsonblaha avatar Sep 09 '19 02:09 nelsonblaha

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

JLiscom avatar Nov 02 '19 22:11 JLiscom

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

paulbono avatar Sep 09 '20 17:09 paulbono

@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.

paulbono avatar Sep 09 '20 18:09 paulbono