Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to close serveice on perticular port number

# It  gives PID of the service
netstat -ano | findstr :<Port>

# Kill the process using PID
taskkill /PID <PID> /F
 
PREVIOUS NEXT
Tagged: #close #serveice #perticular #port #number
ADD COMMENT
Topic
Name
6+7 =