Skip to main content
erkansirin78
Gold ⭐️
Apr 4, 2019 7:33 PM UTC
Solved

Error: failed to start containers: sandbox-proxy

I use Windows 10 Pro. With Docker, I try to start HDP-Sandbox 2.6.5.

docker container start sandbox-hdp

works fine but when I try to start sandbox-proxy:

docker container start sandbox-proxy

I get the following error:

Error response from daemon: driver failed programming external connectivity on endpoint sandbox-proxy (26aa3064fa2cf790e2f529ed1c865944013893b8f14259ef5109407b5b95e08c): Error starting userla
nd proxy: Bind for 0.0.0.0:50111: unexpected error Permission denied
Error: failed to start containers: sandbox-proxy

erkansirin78
Gold ⭐️
Apr 5, 2019 4:41 AM UTC

In this post, Hortonworks says change port number if come across this kind of conflict. For example if 6000 is binded change it to 6001 in 'HDP_2.6.5_deploy-scripts\sandbox\proxy\proxy-deploy.sh' file. I changed 50111 to 50112, 50113, etc. and retried but nothing helped. I had to comment out the following ports:

#-p 50111:50111 \

#-p 50095:50095 \

#-p 50079:50079 \

# -p 50075:50075 \

# -p 50070:50070 \

then I could manage to start sandbox-proxy.

6 replies

erkansirin78
erkansirin78AuthorAnswer
Gold ⭐️
Apr 5, 2019 4:41 AM UTC

In this post, Hortonworks says change port number if come across this kind of conflict. For example if 6000 is binded change it to 6001 in 'HDP_2.6.5_deploy-scripts\sandbox\proxy\proxy-deploy.sh' file. I changed 50111 to 50112, 50113, etc. and retried but nothing helped. I had to comment out the following ports:

#-p 50111:50111 \

#-p 50095:50095 \

#-p 50079:50079 \

# -p 50075:50075 \

# -p 50070:50070 \

then I could manage to start sandbox-proxy.

Translate
rakotkar
Silver ⭐️⭐️
Jan 29, 2020 8:46 AM UTC

I am still getting the same error even after changing the ports on windows 10. 

Translate
siderste
Silver ⭐️
May 25, 2019 1:08 PM UTC

Change ports 50070, 50075, 50079, 50111, 50095 to 4 digit ports , worked for me on windows 10!

Translate
erkansirin78
Gold ⭐️
May 26, 2019 1:17 AM UTC

Thank you @Stylianos Sideridis. The issue cooled. Next time I'll keep it in mind, thanks again.

Translate