help!springboot连接虚拟机kafka问题

问题:虚拟机配置kafka,本地springboot连接虚拟机kafka出现访问不上,查询到了网上的一些解决方案无效,jym帮帮忙

连不上:Connection to node -1 (/192.168.80.161:9092) could not be established. Broker may not be available.

虚拟机静态ip:192.168.80.161

Kafka版本:kafka_2.13-3.7.0

image.png

image.png

image.png