Monday, 16 March 2015

Kill a process on a port in ubuntu


By using fuser command we can kill a process running on a port.

For example, to kill a process running on port 6379
fuser -n tcp -k 6379


No comments:

Post a Comment