How to kill a glassfish server in Windows? How to kill a glassfish server in Windows? windows windows

How to kill a glassfish server in Windows?


The process will be java.exe

You can use one of the sysinternals tools, like tcpview.exe for example to see which program is actually using that port.


Adding to Alexis' answer,

jps -v

will show you more about the java processes. Note the pid. You must have configured your path correctly for this to work.

Then do

taskkill /pid <pid>


You can also use jps to list all the Java processes on you machine. The GlassFish server main class is called ASMain