Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Docker for Windows conflict in port 9090 in the start_sandbox script

Docker for Windows conflict in port 9090 in the start_sandbox script

New Contributor

Using Docker for Windows, I started HDP successfully with start_sandbox-hdp.ps1 and then, trying to start HDF with start_sandbox-hdf.ps1, I got an error:

Bind for 0.0.0.0:9090 failed: port is already allocated.

Trying to identify the process allocating this port in HDP, I didn't find it. I believe this port is used in HDF for NiFi. I tried to change the port number in start_sandbox-hdf.ps1 and that didn't help.

I need help.

Thank you very much.

2 REPLIES 2

Re: Docker for Windows conflict in port 9090 in the start_sandbox script

Super Mentor

@Fadle Allah Shili

Can you please try changing the port mapping for 9090 to something else ... as mentioned in the following doc:

https://hortonworks.com/tutorial/sandbox-port-forwarding-guide/section/1/#forward-virtualbox-ports

Re: Docker for Windows conflict in port 9090 in the start_sandbox script

New Contributor

Thank you very much Jay for the answer. Actually, I did that by replacing -p 9090:9090 by -p 9093:9093 and it worked but for some reason, NiFi doesn't work in HDF (Docker for windows). I'm suspecting it could be because of this port forwarding.

Don't have an account?
Coming from Hortonworks? Activate your account here