Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Accessing services(private subnet) from browser (localhost)

avatar
Rising Star

My setup is done using private and public subnet using cloudformation scripts of cloudera director client.

Using below tunnel, i am able to use cloudera manager on localhost:7180

ssh -i my-key.pem -L 7180:<private IP of master>:7180 -L 7187:<private IP of master>:7187 ec2-user@<Public Ip of launcher(director client)>

 

I am able to use cloudera manager on localhost:7180.

 

how to access other services  like application master resource manager which are running on different port like 8088.

 

I am failed to access below kind of url, example.

http://ip-10-0-1-106.ec2.internal:8088/cluster/app/application_1463741301226_0001


1 ACCEPTED SOLUTION
2 REPLIES 2

avatar
Cloudera Employee

not sure if the problem is dns or tunneling, or both

 

does nslookup ip-10.0.0.106.ec2.internal return an ip address?

 

If you change the hostname to the ip address:

http://10.0.0.106:8088/cluster/app/application_1463741301226_0001

does that route?

 

If it doesn't route, maybe you have to setup another ssh tunnel or a socks proxy

 

Let me know your findings

avatar
Cloudera Employee