1. Rocketmq org.apache.rocketmq.remoting.exception.remotingconnectexception: connect to failed
solution: modify the broker configuration in the server and add the server IP (public network)
vim /home/prod/rocketmq-all-4.3.0/distribution/target/apache-rocketmq/conf/broker.conf
add a new line
brokerIP1=xx.xx.xx.xx # your public IP
Then restart the process, restart the broker must use the configuration file to start
nohup sh bin/mqbroker -n localhost:9876 -c conf/broker.conf &
Meanwhile, if you use alicloud, you must release port 10909, dashboard port 9876 in the security rules
Read More:
- [Solved] Rocketmq remote connection error: sendDefaultimpl call timeout
- [Solved] Rocketmq Root Account Startup Error: Permission denied
- [Solved] Windows Start RocketMq Error: Unrecognized VM option ‘UseCMSCompactAtFullCollection‘
- [Solved] RocketMQ Start broker Error: StoreScheduledThread1
- [Solved] rocketmq Startup Error: Error: Could not create the Java Virtual Machine.
- [Solved] nested exception is org.apache.ibatis.builder.BuilderException: Error invoking SqlProvider method
- [Solved] org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.project.MavenProject…
- Mybatis query error: Exception in thread “main” org.apache.ibatis.exceptions.PersistenceException…
- [Solved] java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]
- Springboot Project Error: Failed to execute goal org.apache.maven.plugins
- [Solved] xxl-job Error: xxl-rpc remoting error(connect timed out)
- [Solved] O2oa compile error: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin
- [Solved] org.hibernate.exception.SQLGrammarException: could not extract ResultSet at org.hibernate.exception
- [Solved] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:analyze-only
- [Solved] Maven Publish Error: Failed to execute goal org.apache.maven.pluginsmaven-deploy-plugin2.8.2deploy
- MVN compile Error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin…
- [Solved] MVN Build Project Error: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test
- [Solved] Spring Boot Package Error: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0
- [Solved] SpringBoot Pack Project: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources
- [Solved] ERROR org.apache.struts2.dispatcher.Dispatcher – Dispatcher initialization failed