sudo netstat -ap | grep : #The second line will contain the process id. e.g: 7838/python3 (7838 is the pid) kill