Jboss server error: the server is already running on the local host

I am working on a web project where a jboss application server is required. After setting up the jboss server, I ran my application. It shows an error, for example: A server already running on the local .Web host found the running server at URL // localhost: 8080. enter image description here

+7
java java-ee jboss
source share
4 answers

Works for me

  • Open command prompt

  • Type netstat -noa and press Enter

  • Check the "PID" of the process that your port is using.

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

As pointed out by @Mxsky: you may need to force the process to terminate with the / F switch. Thus, the command becomes: taskkill /PID pid_number /F

  • Done. Now start the server
+9
source share

Typically, this problem occurs due to proxy settings. If none of the processes running on port 8080, and you still find this error, then the reason is that the proxy server is not a workaround for the local address.

Proxy bypass for local address below in IE.

Open IE, Tools β†’ Internet Options β†’ Connections β†’ LAN Settings β†’ Check the box "Bypass proxy server for local address"

Now restart the jboss server.

+9
source share

If this happened due to incorrect closing of the eclipse (or just a malfunction):

  • When it is closed, "End the process tree" on javaw.exe with task manager.
  • Restart eclipse.

This is hardly the best way, but it works ... or at least for me.

If this is being done from another server:

  • You need to make sure that you have separate port numbers for each server instance.
  • Otherwise, it will not communicate correctly; or even.
+5
source share

What Suleiman Shahin said was right. Open a command prompt Type netstat -noa and press Enter. Check the "PID" of the process that your port is using. And type taskkill / PID "PID number" and press Enter. As @Mxsky said: you may need to force the process to terminate with the / F switch. So the command would be: taskkill / PID pid_number / F

However, if you cannot kill the process in cmd, check the PID that uses port 8080. At the command line [::] 8080, it will look like this. Now go to the Task Manager on the Details tab to check the PID and right-click the name of the service and click Go to Service. Now stop the service using port 8080.

Now open the eclipse and launch JBoss. What is it.

0
source share

All Articles