背景:
win7 启动 ActiveMQ bat 脚本失败,查看错误信息,提示本地端口 5672 本占用
jvm 1 | java.io.IOException: Transport Connector could not be registered in JMX: java.io.IOException: Failed to bind to server socket: amqp://0.0.0.0:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600 due to: java.net.BindException: Address already in use: JVM_Bind
查 5672 被哪个进程占用
netstat -ano | findstr "5672"
查该进程属于哪个服务
tasklist|findstr "2532"
ConstXiong 备案号:苏ICP备16009629号-3