Address already in use: JVM_Bind java

后端 未结 13 2492
离开以前
离开以前 2020-11-30 03:33

Some times whenever I restart the application, which is built on Java Struts Mysql and Jboss 4.05 Version I get the error as Address already in use: JVM_Bind

13条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-30 04:23

    I was having this problem too. For me, I couldn't start/stop openfire (it said it was stopped, but everything was still running)

    sudo /etc/init.d/openfire stop
    sudo /etc/init.d/openfire start
    

    Also, restarting apache did not help either

    sudo /etc/init.d/apache2 restart
    

    The errors were inside:

    /opt/openfire/logs/stderror.log
    Error creating server listener on port 5269: Address already in use
    Error creating server listener on port 5222: Address already in use
    

    The way I fixed this, I had to actually turn off the server inside the admin area for my host.

提交回复
热议问题