apache / rocketmq-dashboard

The state-of-the-art Dashboard of Apache RoccketMQ provides excellent monitoring capability. Various graphs and statistics of events, performance and system information of clients and application is evidently made available to the user.
https://rocketmq.apache.org/
Apache License 2.0
1.09k stars 535 forks source link

remote connect exception #181

Open Madhukar2509 opened 1 year ago

Madhukar2509 commented 1 year ago

docker image doesnt connect to rocketmq instance org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to [127.0.0.1:9876] failed

wizardzhang commented 11 months ago

@Madhukar2509 did you get your problem fixed? i have meet the same problem

Jedore commented 11 months ago

I met this question when I started all by docker images. rockermq 4.8.0 I solved by:

docker run -d --name rocketmq-dashboard --link rmqnamesrv:namesrv -e "JAVA_OPTS=-Drocketmq.namesrv.addr=namesrv:9876" -p 8080:8080 -t apacherocketmq/rocketmq-dashboard:latest
Jedore commented 11 months ago

@Madhukar2509 @wizardzhang Reference https://blog.csdn.net/zhangzengxiu/article/details/119062079

Carlos1729 commented 11 months ago

I tried all the options none of them fixed the issue back then and I had to move to a different MQ. Will try this now also it would be great if the blogs or documentation is in English as few cn domains are blocked in other countries atleast for the frequently encountered errors

Jedore commented 11 months ago

I tried all the options none of them fixed the issue back then and I had to move to a different MQ. Will try this now also it would be great if the blogs or documentation is in English as few cn domains are blocked in other countries atleast for the frequently encountered errors

Hahaha, I will write my solution about this issue(the first hole I met about rocketmq, may be more holes) in my blog, but ... I've switched to rabbitmq ... @Carlos1729

5bCP6JmO commented 5 months ago

I met this question when I started all by docker images. rockermq 4.8.0 I solved by:

docker run -d --name rocketmq-dashboard --link rmqnamesrv:namesrv -e "JAVA_OPTS=-Drocketmq.namesrv.addr=namesrv:9876" -p 8080:8080 -t apacherocketmq/rocketmq-dashboard:latest

use : docker run -d --net=host --name rocketmq-dashboard --link rmqnamesrv:namesrv -e "JAVA_OPTS=-Drocketmq.namesrv.addr=namesrv:9876" -t apacherocketmq/rocketmq-dashboard:latest