Stop WildFly Application Server [Snippet]
Stopping a WildFly application is as easy as 1, 2.
Join the DZone community and get the full member experience.
Join For FreeDevOps 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
The command line argument prints an open connection that is listening on the console as shown below.
TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING 9332
Step 2: Kill the Process
Kill the process ID by using the following command.
$ taskkill.exe /F /pid 9332
Application server
application
WildFly
Opinions expressed by DZone contributors are their own.
Comments