Killing Open Ports in Linux
Posted on 27 Jan, 2020
I had this weird error while running Django Development Server.
Solution
Run
netstat -ntlp
to see available open ports.
Here is a man netstat
for what it does
netstat - Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships
You see the python3 one? Kill 😈 this process
Run
kill -9 12054
Kill is used for Removing a background process or job,-9
specifies SIGKILL (Forced termination) where12054
is the PIDRun the development server again.
Last updated