Hello, Got a bit further.
I registered a DNS using my router IP address and then I can connect to the Kafka server from remote at my house through the ADSL. So the "advertised.host.name" does not refer to an IP address but an actual domain host name (am I correct in saying this). Is there no way of connecting to a server that is connected to a router that only has an IP address and does NOT have a domain name that the IP can resolve to. Thanks, Otto Grunewald From: Otto Grunewald Sent: 2017-11-07 17:51 To: 'users@kafka.apache.org' <users@kafka.apache.org> Subject: Public IP Hello, Hope you can assist. I have a kafka server configured on our office network. All works fine. The NodeJS (no-kafka) producers and consumers connect to the kafka topics and does there thing. When I tried connecting to the kafka from an external IP address, i.e. home ADSL network, it didn't see the kafka server. This I then solved by changing the "server.properties" file and setting the "advertised.host.name"of the kafka sever to indicate the public IP of our office network. All messages where produced and consumed. I then took the kafka server home to my ADSL network. My thought was just to change the "server.properties" file and set the "advertised.host.name" to the public IP of my home network (which I get by doing a "myip" in google). The result was that the no-kafka node module indicates the following msg "WARN no-kafka-client No broker metadata received, retrying metadata request in 1000ms". How does one configure kafka server for the above scenario? The server OS is Centos 7, utilizing Zookeeper 3.4.10 and Kafka 2.12-0.10.1.1. Hope you can assist. Thanks in advance. Best regards, Otto Grunewald