Activemq can't run due to address already in use error

前端 未结 16 1630
余生分开走
余生分开走 2021-02-12 18:06

How to solve the error?

Java Runtime: Oracle Corporation 1.7.0_05 E:\\Program Files\\Java\\jdk1.7.0_05\\jre
  Heap sizes: current=1004928k  free=994439k  max=100         


        
16条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-12 19:04

    The error is telling you that there is either already a broker running or some other service running that is using the required ports that ActiveMQ want to bind its TCP transport and JMX service to. You can see this in the error string "Failed to bind to server socket: tcp://0.0.0.0:61616 due to: java.net.BindException: Address already in use:" and "Transport Connector could not be registered in JMX: Failed to bind to server socket: tcp://0.0.0.0:61616 due to: java.net.BindException: Address already in use:"

    To resolve the issue you need to figure out what is running that is using those ports, or change the config to use other ports

提交回复
热议问题