Jboss Server Error:Server already running on localhost

隐身守侯 提交于 2019-11-28 18:54:56
Süleyman Şahin

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
Dipak Modi

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.

ECleveland

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.

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.

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

Go to your crome setting type 'xy' to open proxy setting then click on LAN Setting check bypass proxy server for local address.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!