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

前端 未结 16 1368
余生分开走
余生分开走 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 18:51

    ERROR | Failed to start Artemis JMS Message Broker. Reason: Address already in use

    In my case i had to make kill the process that was using 8161 in bootstrap.xml (in etc folder)

    Following below steps to find PID and kill the process

    1. find the process id that is using this port (in your case, 8161). In command prompt write: netstat -a -o -n and look at the process id.
    2. Next kill the process by typing: taskkill /F /PID "process id" by running the command prompt in administrator mode

提交回复
热议问题