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
(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"
Then kill the particular task
taskkill /PID 8292 /F
/F is forcefully kill
Add a comment