gie3d Posted on Nov 6, 2020 Stop a service running on a specified port #command Windows netstat -ano | findstr "PID: <port>" Enter fullscreen mode Exit fullscreen mode Then use taskkill taskkill /pid <pid> /f Enter fullscreen mode Exit fullscreen mode Unix netstat -vanp tcp | grep <port> Enter fullscreen mode Exit fullscreen mode Then use kill sudo kill -9 <pid> Enter fullscreen mode Exit fullscreen mode Top comments (0) Subscribe Submit Preview Dismiss Code of Conduct • Report abuse
Top comments (0)