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 Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  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.

Orestis Pantazos user avatar by
Orestis Pantazos
·
May. 17, 19 · Code Snippet
Like (1)
Save
Tweet
Share
13.86K 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.

Popular on DZone

  • What Is Policy-as-Code? An Introduction to Open Policy Agent
  • Beginners’ Guide to Run a Linux Server Securely
  • How Do the Docker Client and Docker Servers Work?
  • An Introduction to Data Mesh

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

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

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: