apache / rocketmq-exporter

Apache RocketMQ Prometheus Exporter
https://rocketmq.apache.org/
Apache License 2.0
294 stars 171 forks source link

云服务器报错-RemotingConnectException: connect to 60.204.153.31 :10911 failed #139

Open juda666a opened 1 year ago

juda666a commented 1 year ago

报错截图如下 image application.yml配置如下,使用公网IP image rocketMQ conf文件具体配置如下 image rocketMq启动命令如下 1、docker run -d -p 9876:9876 --name rmqnamesrv --restart=always -v /home/software/rocketmq/data/namesrv/logs:/root/logs -v /home/software/rocketmq/data/namesrv/store:/root/store -e "MAX_POSSIBLE_HEAP=100000000" rocketmqinc/rocketmq:latest sh mqnamesrv 2、docker run -d -p 10911:10911 -p 10909:10909 --name rmqbroker --restart=always -v /home/software/rocketmq/data/broker/logs:/root/logs -v /home/software/rocketmq/data/broker/store:/root/store -v /home/software/rocketmq/conf/broker.conf:/opt/rocketmq-latest/conf/broker.conf --link rmqnamesrv:namesrv -e "NAMESRV_ADDR=namesrv:9876" -e "MAX_POSSIBLE_HEAP=200000000" rocketmqinc/rocketmq:latest sh mqbroker -c /opt/rocketmq-latest/conf/broker.conf 3、docker run -d --restart=always --name rmqadmin -e "JAVA_OPTS=-Drocketmq.namesrv.addr=60.204.153.31:9876 -Dcom.rocketmq.sendMessageWithVIPChannel=false" -p 9999:8080 -t styletang/rocketmq-console-ng

humkum commented 1 year ago

看着像是 broker ip 不太对,中间多了个空格?

samgang commented 1 year ago

check firewall on host or cloud

PORT 10911 is CLOSED on '60.204.153.31'.