Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Stop WildFly Application Server [Snippet]

DZone 's Guide to

Stop WildFly Application Server [Snippet]

Stopping a WildFly application is as easy as 1, 2.

· DevOps Zone ·
Free Resource

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


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
Topics:
wildfly

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}