DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • A Maven Story
  • Ultra-Fast Microservices: When MicroStream Meets Wildfly
  • Request Routing Through Service Mesh for WebSphere Liberty Profile Container on Kubernetes
  • How to Use JMS ActiveMQ With Mule 4: Part 1

Trending

  • A 5-Step SOC Guide That Meets RBI Expectations and Strengthens Security Operations
  • Production Database Migration or Modernization: A Comprehensive Planning Guide [Part 2]
  • How Rule Engines Transform Business Agility and Code Simplicity
  • Why Good Models Fail After Deployment
  1. DZone
  2. Coding
  3. Java
  4. Stop WildFly Application Server [Snippet]

Stop WildFly Application Server [Snippet]

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

By 
Orestis Pantazos user avatar
Orestis Pantazos
·
May. 17, 19 · Code Snippet
Likes (1)
Comment
Save
Tweet
Share
18.0K Views

Join the DZone community and get the full member experience.

Join For Free

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
Application server application WildFly

Opinions expressed by DZone contributors are their own.

Related

  • A Maven Story
  • Ultra-Fast Microservices: When MicroStream Meets Wildfly
  • Request Routing Through Service Mesh for WebSphere Liberty Profile Container on Kubernetes
  • How to Use JMS ActiveMQ With Mule 4: Part 1

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook