服务器上rocketmq无法发送消息失败问题。 nohup ./mqbroker -n 公网ip:9876 -c ../conf/broker.conf autoCreateTopicEnable=true &1、服务器开放端口:9876,10909,10911,10912。nohup ./mqnamesrv -n 公网ip:9876 &namesrvAddr=公网ip:9876。brokerIP1=公网ip。2、conf/broker.conf文件。在bin目录下启动。3、启动时使用配置文件。
启动RocketMQ报错:Please set the JAVA_HOME variable in your environment, We need java(x64) 我的解决方法是:将runserver.cmd和runbroker.cmd文件中。