check ports in use

See ports in use:

sudo ss -plnt

Filter the list:

sudo ss -plnt | grep ':80'

Kill all proccess using a specific port, this will do so violently:

kill -9 $(lsof -t -i:5000)
Posted @ 2019-02-28 14:45