Monday 19 October 2015

How to find and kill a process that is using a particular port in ubuntu

1) sudo netstat -lpn |grep :8080
    
      and press Enter

      You can see the PID that occupied the port 8080

2) sudo kill -9 xxxx

      Now you can use the port 8080 for some other application

No comments:

Post a Comment