Permission Denied on port when starting HDP Sandbox Proxy on Docker (Windows 10)

Viewed 3240

I am getting the following error when trying to start sandbox-proxy (proxy-deploy.sh) on docker. Have tried reinstalling, rebooting, checking existing in use ports using netstat -a -n. Nothing helped.

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

Detailed snapshot of failure

enter image description here

Docker logs attempt as requested

enter image description here

enter image description here

1 Answers

Go to the location where you saved the Docker deployment scripts – refer to Deploy HDP Sandbox as an example. You will notice a new directory sandbox was created.

  • Edit file sandbox/proxy/proxy-deploy.sh
  • Modify conflicting port (first in keypair). For example, 6001:6001 to 16001:6001
  • Save/Exit the File
  • Run bash script: bash sandbox/proxy/proxy-deploy.sh
  • Repeat steps for continued port conflicts

More info : https://hortonworks.com/tutorial/sandbox-deployment-and-install-guide/section/3/#port-conflict

Related