2021-12-09 RockerMQ错误:closeChannel: close the connection to remote address[] result: true

RockerMQ错误:closeChannel: close the connection to remote address[] result: true

  • RockerMQ 不能连接远端地址错误

RockerMQ 不能连接远端地址错误

使用 java 连接 RockerMQ 出现了 错误信息,如下:

2021-12-09 21:29:31.708  INFO 7660 --- [lientSelector_1] RocketmqRemoting : closeChannel: close the connection to remote address[] result: true

当提供者发送消息到 broker 中时,出现 “org.apache.rocketmq.remoting.exception.RemotingTooMuchRequestException: sendDefaultImpl call timeout” 错误信息
2021-12-09 RockerMQ错误:closeChannel: close the connection to remote address[] result: true_第1张图片

后续搜帖子发现:是linux没有开放 10911、10912端口(以及9876、10909端口),一共四个端口都需要防火墙放行

#开放10912端口 其它端口一样 也可以直接关闭防火墙
firewall-cmd --zone=public --add-port=10912/tcp 
# 如果是使用 云服务器 也需要在服务器官网上开放对应 防火墙规则(也就是说云服务器要在两个地方放行)

你可能感兴趣的:(#,Java问题集,服务器,java,linux)