DEV Community

Orestis Pantazos
Orestis Pantazos

Posted on • Updated on

🛠 Stop WildFly Application Server

DevOps engineers usually want to stop the WildFly application server if the process is running in the background. To keep it simple on Windows, here are two steps to do it.

Step 1: Find address and process

Enter the following command to find the process that is listening and running to port number 8080.

netstat -a -n -o | findstr :8080
Enter fullscreen mode Exit fullscreen mode

The command line argument prints an open connection that is listening on the console as show below.

TCP   127.0.0.1:8080   0.0.0.0:0   LISTENING   9332
Enter fullscreen mode Exit fullscreen mode

Step 2: Kill the process

Kill the process ID by using the following command.

taskkill.exe /F /pid 9332
Enter fullscreen mode Exit fullscreen mode

Top comments (0)