0

I'm using Apache Zeppelin and having the port forwarded from the EMR master node to an EC2 instance (running Amazon Linux). When I RDP into the EC2 instance, I can connect to Zeppelin by going to http://localhost:. However when I try to connect to Zeppelin from another machine using http://:port, I get a connection refused error. I've tried many different ports, all to no avail.

What am I missing?

2
  • Security group settings? Firewall on the instance? Does Zeppelin have to be set up to listen to external connections?
    – ceejayoz
    Jul 18, 2016 at 17:58
  • I haven't tried it yet, but I believe the problem was I was using local port forwarding from EC2 to EMR instead of remote port forwarding from EMR to EC2. I'll give it a shot and report back. Jul 19, 2016 at 1:59

1 Answer 1

0

I needed to do remote port forwarding from the EMR cluster (to forward the local port on the EMR cluster master node to the remote port on the EC2 instance) instead of local port forwarding on the EC2 instance (which was forwarding the local port from the EC2 instance to the remote port on the EMR cluster master node).

So, the command looks like:

ssh -R remoteEc2Port:localhost:localEmrPort ec2-user@ec2-ip

Yippee!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .