Cómo cerrar sockets abiertos en linux

Ejemplos de código

1
0

debian kill open port

fuser -k 3000/tcp 	//will kill that process.
1
0

cómo cerrar sockets ubuntu

sudo netstat -ap | grep :<port_number> 
  
#The second line will contain the process id. e.g: 7838/python3 (7838 is the pid)
kill <pid>
0
0

cómo cerrar port en linux

sudo ufw allow PORT

En otros idiomas

Esta página está en otros idiomas

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................