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.

Accessing services(private subnet) from browser (localhost)

SOLVED Go to solution

Accessing services(private subnet) from browser (localhost)

Explorer

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

Accepted Solutions

Re: Accessing services(private subnet) from browser (localhost)

Cloudera Employee
2 REPLIES 2

Re: Accessing services(private subnet) from browser (localhost)

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

Re: Accessing services(private subnet) from browser (localhost)

Cloudera Employee