1.需要在hosts文件中增加ip绑定 文件路径:C:\Windows\System32\drivers\etc\hosts 192.168.56.128 bike1 安装kafka服务器ip kafka别名 连接kafka 成功