How do i close a port listening on a local host in CentOS7?
So far I have used the below command to find the process id
sudo netstat -tlpn | grep 5601
Then, used the below command to kill the process but it starts up with new process id.
sudo kill -SIGTERM 29565
Please help.

Asked by Ishan Abhinit
(1 rep)
Mar 25, 2020, 09:18 PM
Last activity: Dec 24, 2023, 05:06 PM
Last activity: Dec 24, 2023, 05:06 PM