主要是对自己之前出现过的一些问题进行总结,这次主要是针对RabbitMQ的网络方面进行讨论。
在搭建RabbitMQ的集群过程中,出现了端口报错的情况,在CentOS中默认的4396端口并不是开放的,还有可能开启4396端口后,默认的25672端口也需要进行开放。
CentOS7默认的iptables管理是默认的wirewalld,为了方便管理,可以将其修改为传统的方式
systemctl stop firewalld
systemctl mask firewalld
yum install iptables-services //安装iptables-service安装包
systemctl enable iptables //开机启动iptables
systemctl [stop|start|restart] iptables
service iptables save
service iptables restart //systemctl re