1) Go to (Open) Command Prompt (Press Window + R then type cmd Run this).
2) Run following commands
For all listening ports
netstat -aon | find /i “listening”
Apply port filter
netstat -aon |find /i “listening” |find “8080”
Finally with the PID we can run the following command to kill the process
3) Copy PID from result set
taskkill /F /PID
Ex: taskkill /F /PID 189
Sometimes you need to run Command Prompt with Administrator privileges
Done !!! you can start your service now.
- Kill a Process by Looking up the Port being used by it from a .BAT
- How to get the path of the batch script in Windows?
- How to set commands output as a variable in a batch file [duplicate]
- How to do something to each file in a directory with a batch script
- Command line to remove an environment variable from the OS level configuration
- Setup a Git server with msysgit on Windows [closed]
- How to split large text file in windows? [closed]
- Phonegap Cordova installation Windows
- How to avoid the “Windows Defender SmartScreen prevented an unrecognized app from starting warning”
- Windows ignores JAVA_HOME: how to set JDK as default?
- Error “‘git’ is not recognized as an internal or external command”
- Useful Command-line Commands on Windows
- hosts file ignored, how to troubleshoot?
- Command line to list users in a Windows Active Directory group?
- In Windows, using the command line, how do you check if a remote port is open?
- Is there an equivalent of SU for Windows
- Network Service account accessing a folder share
- nginx: bind() to 0.0.0.0:80 failed on Windows [closed]
- Registry key / GPO to disable and block Windows 10 upgrade?
- Is there an open source tool to map SFTP connections as a Windows mapped drive? [closed]
- How to start a service with certain start parameters on Windows
- Why does Windows command prompt stalls until a key is pressed when executing long batch files or programs
- How to properly remove lingering objects when -strict has been set on a large number of DCs for a long time?
- How can I tell if Windows is running in Safe Mode?
- System degredation – does Windows slow down over time?
- Is it possible to trust a certificate in windows, without trusting its root CA?
- How can I edit local security policy from a batch file?
- Windows SSH Tunnel Manager
- Equivalent to the htop command on Windows
- Run a command on Windows startup (not login!)
- Disable right click file printing in windows?
- What good free software is available for backing up a few PCs?
- Search AD by GUID
- Can’t copy paste between my desktop a remote desktop
- How can I send the stdout of one process to multiple processes using (preferably unnamed) pipes in Unix (or Windows)?
- Keyboard Shortcut to Cycle through Windows of same Application in Windows 7 [closed]
- Difference between MBCS and UTF-8 on Windows
- error: cannot run ssh: No such file or directory when trying to clone on windows
- How to show hidden files (dotfiles) with windows powershell [duplicate]
- Simplest way to restart service on a remote computer
- Registry vs. INI file for storing user configurable application settings [closed]
- UNC path to a folder on my local computer
- Set Windows process (or user) memory limit
- How to make a batch file delete itself?
- NPM package ‘bin’ script for Windows
- Why this code says echo is off?
- Why are “Executable files” operating system dependent?
- Register Windows program with the mailto protocol programmatically
- Windows and renaming folders, the ‘con’ issue [closed]
- Oracle 11g Express Edition for Windows 64bit?