apache/rocketmq-dashboard

remote connect exception

Opened this issue · 6 comments

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

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

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

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

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

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