Sudo apt-get install lsof // install lsof sudo lsof -i: port numberkill-9 Process ID // Kill the corresponding processCopy the code

Source: www.cnblogs.com/yongfengnic…