debian kill açık bağlantı noktası
fuser -k 3000/tcp //will kill that process.
Ubuntu soketleri nasıl kapatılır
sudo netstat -ap | grep :<port_number>
#The second line will contain the process id. e.g: 7838/python3 (7838 is the pid)
kill <pid>
Linux'ta bağlantı noktası nasıl kapatılır
sudo ufw allow PORT