SumanKumar
SumanKumar

Reputation: 364

Unable to connect to kafka broker of HDP Sandbox from Host machine

I am unable to connect to kafka broker (http://127.0.0.1:6667) of Hortonworks Sandbox 2.6 from my host machine. Every time I connect, it is saying the site is not reachable. What I am doing wrong.

FYI, I have enabled port forwarding for 6667 for my sandbox.

Upvotes: 0

Views: 493

Answers (2)

OneCricketeer
OneCricketeer

Reputation: 191681

Kafka is not an HTTP server; your browser will never be able to reach that address.

You will need to download Kafka CLI tools or SSH into the machine to connect to Kafka.

Upvotes: 0

daniel.wirtz
daniel.wirtz

Reputation: 1030

have you checked this: https://de.hortonworks.com/tutorial/sandbox-port-forwarding-guide/section/1/#add-ports-to-the-docker-script

Essentially you also need to enable port forwarding for the Docker Sandbox, just Host -> VM wont suffice, you need Host -> VM -> Docker container.

Helped in my case for Sandbox HDP 2.6+

Upvotes: 0

Related Questions