Lot of time we got stuck in port issues. Port is used by some other application where my application is  not able to run.

In a such case how to find port details in windows

There is a netstat (network statistics), a command-line tool that displays network connections. It is available on Unix, Unix-like, and Windows.

“which application or processer is using port number xxxx?”

give this commands in CMD

Netstat -a -n –o

image

(add -n to stop it trying to resolve hostnames, which will make it a lot faster)

-a :-Displays all connections and listening ports.
-n :-Displays addresses and port numbers in numerical form.

Find the task against the port number

tasklist /FI "PID eq 8292"

image

Then kill the particular task

taskkill /PID 8292 /F

/F is forcefully kill

0

Add a comment

I am
I am
Archives
Total Pageviews
Total Pageviews
2 0 5 7 7 0 6
Categories
Categories
Loading