Jboss Server Error:Server already running on localhost

后端 未结 6 1697
说谎
说谎 2020-12-13 16:27

I am working on web project where jboss application server is required. After configured the jboss server, I was running my application. It is showing error like:Server alre

相关标签:
6条回答
  • 2020-12-13 16:37

    I solved this problem, by changing the port number in my server and then changing the port number in standalone-full.xml too.

    0 讨论(0)
  • 2020-12-13 16:39

    Generally this issue happen because of proxy setting. If none of the process running on 8080 port and still you find this error then reason is proxy server is not bypass for local address.

    Bypass Proxy Server for Local Address by below Setting on IE.

    Open IE, Tools -> Internet Options -> Connections -> LAN Setting -> Check mark on checkbox "Bypass proxy server for local address"

    Now restart your jboss server.

    0 讨论(0)
  • 2020-12-13 16:44

    This issue appear something due to bad configuration. You have made some change in the standalone.xml file and the server doesn't start again. You can check that by try to launch the server from cmd. if it's so, just check you config. otherwise try the approach of @ECleveland

    0 讨论(0)
  • 2020-12-13 16:49

    If this happened from not closing eclipse properly (or it just crashed):

    • When it is closed, 'End Process Tree' on javaw.exe with task manager.
    • Restart eclipse.

    This is not likely the best way but it works... or did for me at least.

    If this is from another server running:

    • You need to make sure you have separate port numbers per server instance.
    • Otherwise it will not bind correctly; or at all.
    0 讨论(0)
  • 2020-12-13 16:55

    Works for me

    • Open Command Prompt

    • Type netstat -noa and hit Enter

    • Check the "PID" of process that uses your port

    • And type taskkill /PID "PID number" and hit Enter

    As @Mxsky stated: You may have to force the processus to quit with the /F option.So the command becomes: taskkill /PID pid_number /F

    • Done. Now start the server
    0 讨论(0)
  • 2020-12-13 16:56

    What Süleyman Şahin said was right. Open Command Prompt Type netstat -noa and hit Enter Check the "PID" of process that uses your port And type taskkill /PID "PID number" and hit Enter As @Mxsky stated: You may have to force the processus to quit with the /F option.So the command becomes: taskkill /PID pid_number /F

    However, if you are unable to kill the process in the cmd, check for the PID that is using port 8080. In the command prompt, [::]8080 it will look like this. Now, goto the Task Manager in the Details tab check for the PID and right click on the name of the service and click Go to service(s). Now stop that service that is using port 8080.

    Now, open the eclipse and start the JBoss. That's it.

    0 讨论(0)
提交回复
热议问题