Windows: How to know which application uses a port

1. Run command prompt.
2. Type netstat -ano | findstr 0.0:<port>

For example:

netstat -ano | findstr 0.0:80

Image

The 8080 in the picture is the process ID (PID). You may see the corresponding application of the process ID through Windows Task Manager. You may also use another application such as XAMPP and run Netstat.

If there is no application using the port you provided, it will not return any value.

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