kafka binding to ipv6 port even though ipv4 address specified in config 您所在的位置:网站首页 Host从业者 kafka binding to ipv6 port even though ipv4 address specified in config

kafka binding to ipv6 port even though ipv4 address specified in config

2023-08-10 08:33| 来源: 网络整理| 查看: 265

I am in a bit of a bind (pun intended).

I have a ubuntu server running kafka & zookeeper. This server has both ipv4 and ipv6 protocols installed.

In the server.properties file, I specified the host.name and advertised.host.name as my public ipv4 address.

When I start zookeeper and kafka, kafka still binds to ipv6 port.

$ netstat -l -t | grep 9092 tcp6 0 0 ferozed-linux3.mydomain:9092 [::]:* LISTEN

The client machine from which I am running a producer in a MapReduce job, is an IPv4 machine. Due to the fact that the server is binding to an IPv6 interface, the client is unable to connect to it.

Any idea how I can fix this?



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有