Support Questions

Find answers, ask questions, and share your expertise

Port Configuration in HDP

avatar
Expert Contributor

In the HDP configuration documentation, it says "To enable HDP communication, open the specific ports that HDP uses." How can achieve this in CentOS? What about port forwarding? For example if I want to access the Web UIs from browser on remote machine, how can I achieve it? I tried this : ssh -L 0.0.0.0:8080:10.0.225.60:8080 root@sandbox -g to make other people on the subnet reach the machine on SSH. and when I run : netstat -nltu | grep 8080, I can see the service is listening on the port. But when I run telnet <hostname-name> 8080, error " Connection closed by foreign host" occured. Look at the screen shot.

Any workaround will be highly appreciated!

1712-connection-closed-by-foreign-host.png

1 ACCEPTED SOLUTION

avatar

@Kibrom Gebrehiwot

This is the Sandbox connection issue right? Did you follow the suggestions I gave at

https://community.hortonworks.com/questions/12846/how-to-solve-connection-refused-errors-in-hdp.html...

I think you re trying to use the Sandbox in a way it is not intended also.

It is not intended to sit on a headless server, and have multiple people access it.

It is intended to sit on your desktop, once desktop with a NAT network interface.

If you want multiple people to access a cluster, you should build your own. See this experience from someone else

https://community.hortonworks.com/questions/8581/alert-on-sandboxhortonworkscom-hdp-232.html#answer-...

View solution in original post

1 REPLY 1

avatar

@Kibrom Gebrehiwot

This is the Sandbox connection issue right? Did you follow the suggestions I gave at

https://community.hortonworks.com/questions/12846/how-to-solve-connection-refused-errors-in-hdp.html...

I think you re trying to use the Sandbox in a way it is not intended also.

It is not intended to sit on a headless server, and have multiple people access it.

It is intended to sit on your desktop, once desktop with a NAT network interface.

If you want multiple people to access a cluster, you should build your own. See this experience from someone else

https://community.hortonworks.com/questions/8581/alert-on-sandboxhortonworkscom-hdp-232.html#answer-...