Sourcecode-kk: Kill process running on certain port in windows

Sourcecode-kk: Kill process running on certain port in windows

Starting of Tomcat failed, the server port 8080 is already in” or”other process that is running on port 8080″ or”Port 8080 already in use”Many new developers facing this error while they try to run a program on a local server. this error occur because another instance is listening to same port but many users don’t know what is the process, and how to stop it from the Services manger in Windows.here is a small tutorial to free up the particular port immediately.we use following two DOS commands:-1 NetstatDisplays protocol statistics and current TCP/IP network connections.2 TaskkillThis command line tool can be used to end one or more processes. Processes can be killed by the process id or image name.we use following code :-C:\WINDOWS\system32>netstat -o -n -a | findstr 8080 TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 4184C:\WINDOWS\system32> taskkill /F /PID 4184SUCCESS: Sent termination signal to the process with PID 4184.

via Sourcecode-kk: Kill process running on certain port in windows.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s