Support Questions

Find answers, ask questions, and share your expertise

Hi All, I am trying to install HDP3 sandbox on Docker on mac machine but I am getting port usage error as "docker: Error starting userland proxy: Bind for 0.0.0.0:8082 failed: port is already allocated."

New Contributor

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.

2 REPLIES 2

Super Mentor

@Manjunath Rajanaga

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.

Example:

# 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

.

,

New Contributor

@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

MAC-xxxx:HDP3.0.1 xxxxx$

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.