Created 06-03-2019 08:02 AM
Getting error as follows "
docker: Error response from daemon: driver failed programming external connectivity on endpoint sandbox-proxy (f00bd0f6abe844fa3d801645d867f7707642915b9ff73658aed91b2e6f652e0d): Error starting userland proxy: Bind for 0.0.0.0:8082 failed: port is already allocated."
How can i resolve this please? It looks like this port is not used at all.
Created 06-03-2019 08:09 AM
Can you please check if you are able to run the "nc -l" command to see if you are able to bind to that address usign the following command?
# nc -l 8082
Ideally you should not be getting this kind of message means the port is being used.
# nc -l 8082 Ncat: bind to :::8082: Address already in use. QUITTING.
Please also check if which process might be using the port 8082. There may be some other process using that port ... using following command we will find the PID of those processes and then we can kill them.
# netstat -tnlpa | grep 8082
On Mac you can try running this command:
# lsof -nP -i4TCP:8082
Created 06-03-2019 05:11 PM
@Jay Kumar SenSharma Thanks for quick response Jay , it is in use but not able to get much info which process it is using.
MAC-xxxxHDP3.0.1 xxxx$ nc -l 8082
nc: Address already in use
MAC-xxxxx:HDP3.0.1 xxxx$ lsof -nP -i4TCP:8082