Answers for "powershell see ports in use"

0

powershell see ports in use

See Ports in Use: 
Get-NetTCPConnection | where Localport -eq PORT_NUMBER | select Localport,OwningProcess

Kill Port In Use

*Set this command*
netstat -ano | findstr :PORT_NUMBER
*To find a ID Process look a exemple below*
TCP    0.0.0.0:8080           0.0.0.0:0              LISTENING       THIS IS ID PROCESS --->[12948]

*Kill IDProcess*
taskkill /PID IDPROCESS /F
Posted by: Guest on November-16-2020

Code answers related to "TypeScript"

Browse Popular Code Answers by Language