Please check what is configured in server.properties for below properties. Those properties cannot have localhost if your client process running on a different machine.
listeners advertised.listeners -----Original Message----- From: Dumitru-Nicolae Marasoui <nicolae.maras...@kaluza.com> Sent: Saturday, July 4, 2020 9:55 AM To: users@kafka.apache.org Subject: Re: kafka-console-consumer.sh: --bootstrap-server not apparently taken into account? Hello kafka community, Same with: ./bin/kafka-consumer-groups.sh --all-groups -describe --bootstrap-server= 169.254.212.189:9092 [2020-07-04 15:53:32,090] WARN [AdminClient clientId=adminclient-1] Connection to node 1 (localhost/127.0.0.1:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient) It is true that 169.254 addresses are link-local but they are not the same machine, it is another machine linked through a thunderbolt cable. Even kafkacat tries to connect to localhost. Why would all the tools attempt localhost instead of indicated 169.254 IP? Thanks On Sat, 4 Jul 2020 at 15:02, Dumitru-Nicolae Marasoui < nicolae.maras...@kaluza.com> wrote: > Hello kafka community, > I am trying to consume from the 169.254.84.196 server: > > ./bin/kafka-console-consumer.sh --bootstrap-server 169.254.84.196:9092 > --topic t > > But it seems it tries to connect locally: > > [2020-07-04 14:55:58,028] WARN [Consumer > clientId=consumer-console-consumer-89456-1, > groupId=console-consumer-89456] Connection to node 2147483646 > (localhost/127.0.0.1:9092) could not be established. Broker may not be > available. > (org.apache.kafka.clients.NetworkClient) > > Pls help, thanks > > -- > > Dumitru-Nicolae Marasoui > > Software Engineer > > > > w kaluza.com > <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.kaluza.com_& > d=DwIBaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=eFshZuDXOwvmW_UjVcAH8Q&m=VFn-UKhrl > iAluTQuU2JFqhCWLJQ-r3-Jp_umU2gef8w&s=Q_Ec7zi38Z4W9wF-pRibyEYhE9G4MoywM > LE2ET9kYoA&e= > > > LinkedIn > <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.linkedin.com > _company_kaluza&d=DwIBaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=eFshZuDXOwvmW_UjVc > AH8Q&m=VFn-UKhrliAluTQuU2JFqhCWLJQ-r3-Jp_umU2gef8w&s=XRHyv2Z0SHKSYTNy9 > kmWeAtbovPuN8F-k4I7EWmd_J8&e= > | Twitter > <https://urldefense.proofpoint.com/v2/url?u=https-3A__twitter.com_Kalu > za-5Ftech&d=DwIBaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=eFshZuDXOwvmW_UjVcAH8Q&m > =VFn-UKhrliAluTQuU2JFqhCWLJQ-r3-Jp_umU2gef8w&s=rDjzzOhIz1XOIAqmPbDqvMX > XtwlBDiTXJj2CmakiUYw&e= > > > Kaluza Ltd. registered in England and Wales No. 08785057 > > VAT No. 100119879 > > Help save paper - do you need to print this email? > -- Dumitru-Nicolae Marasoui Software Engineer w kaluza.com <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.kaluza.com_&d=DwIBaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=eFshZuDXOwvmW_UjVcAH8Q&m=VFn-UKhrliAluTQuU2JFqhCWLJQ-r3-Jp_umU2gef8w&s=Q_Ec7zi38Z4W9wF-pRibyEYhE9G4MoywMLE2ET9kYoA&e= > LinkedIn <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.linkedin.com_company_kaluza&d=DwIBaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=eFshZuDXOwvmW_UjVcAH8Q&m=VFn-UKhrliAluTQuU2JFqhCWLJQ-r3-Jp_umU2gef8w&s=XRHyv2Z0SHKSYTNy9kmWeAtbovPuN8F-k4I7EWmd_J8&e= > | Twitter <https://urldefense.proofpoint.com/v2/url?u=https-3A__twitter.com_Kaluza-5Ftech&d=DwIBaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=eFshZuDXOwvmW_UjVcAH8Q&m=VFn-UKhrliAluTQuU2JFqhCWLJQ-r3-Jp_umU2gef8w&s=rDjzzOhIz1XOIAqmPbDqvMXXtwlBDiTXJj2CmakiUYw&e= > Kaluza Ltd. registered in England and Wales No. 08785057 VAT No. 100119879 Help save paper - do you need to print this email?