activemq启动出错 java.net.BindException: Address already in use: JVM_Bind)

ERROR | Failed to start Apache ActiveMQ ([localhost, ID:[Computer ID]:1], java.io.IOException:    Transport Connector could not be registered i
n JMX: Failed to bind to server socket: amqp://0.0.0.0:5672?maximumConnections=1
000&wireFormat.maxFrameSize=104857600 due to: java.net.BindException: Address already in use: JVM_Bind)

如果出现已上异常可能是你的activemq和rabbitmq端口冲突了

查看端口是否被占用

netstat -ant|grep 5672
解决方案 修改 apache-activemq-5.15.0\conf\activemq.xml
<transportConnector name="amqp" uri="amqp://0.0.0.0:5673?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/>

在这里插入图片描述

发布了28 篇原创文章 · 获赞 7 · 访问量 8582

猜你喜欢

转载自blog.csdn.net/qq_35953966/article/details/104040629