Support Questions
Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

Unable to access a web app running in HDP 2.6.5 Sandbox in Host machine browser.

New Contributor

Hi, I have deployed HDP 2.6.5 sandbox in a oracle virtual box and created an node js app inside the sanbox. I want to browse that app using host(windows) browser using the port on which application is running(http://localhost:3001). I did port forwarding option available but that is not working. In guest(HDP sandboax) machine i am able to see that app is running on the port 3001.

 

Can anyone  help me identifying any other scenario which can cause here in accessing the application in host browser.

1 REPLY 1

@Rahulm6 It sounds like you are having issues with "localhost" and "127.0.0.1" networking.  You should avoid using those values in HDP services.  Aim to use the external IP and an FQDN to avoid the issues with localhost networking.    For example you should use the sandbox-hdp.hortonworks.com address with your app port.  

 

Also make sure you have the right IP address for the sandbox per these instructions:

 

https://www.cloudera.com/tutorials/learning-the-ropes-of-the-hdp-sandbox.html#environment-setup

 

 

If this answer resolves your issue or allows you to move forward, please choose to ACCEPT this solution and close this topic. If you have further dialogue on this topic please comment here or feel free to private message me. If you have new questions related to your Use Case please create separate topic and feel free to tag me in your post.  

 

Thanks,


Steven @ DFHZ