Skip to content
This repository has been archived by the owner on Apr 23, 2019. It is now read-only.

java.net.UnknownHostException for jmx #34

Open
mamdoohi opened this issue Apr 22, 2018 · 1 comment
Open

java.net.UnknownHostException for jmx #34

mamdoohi opened this issue Apr 22, 2018 · 1 comment

Comments

@mamdoohi
Copy link

hi.
when set jmx_port for kafka. i received below error

Caused by: java.net.UnknownHostException: mypc

@mohaseeb
Copy link

mohaseeb commented Mar 20, 2019

I had the same issue and In my case kafka was running ON the host machine. I solved the issue by connecting the container to the host network as described in https://forums.docker.com/t/accessing-host-machine-from-within-docker-container/14248/11

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants