πŸ’­ How to kill process based on the port number in Linux - Linux ... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ !https://linuxconfig.org/how-to-kill-process-based-on-the-port-number-in-linux Date: October 23, 2023 Image: How to kill process based on the port number in Linux β€” Learn to kill a process by port in Linux using fuser, lsof, and ss commands. Essential for system admins managing network processes efficiently. How to kill process based on the port number in Linux Learn to kill a process by port in Linux using fuser, lsof, and ss commands. Essential for system admins managing network processes efficiently. LinuxConfig Β· linuxconfig.org I’ve often struggled to find and kill a process using a certain port on archlinux. Mainly becuase most guides use netstat rather than ss. Here is how I just killed the process using port 5000 using fuser. ``` sudo fuser -k 5000/tcp ``` You can also get information about the process by running lsof ``` ❯ lsof -i :5000 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME thoughts 1058292 waylon 11u IPv4 119622828 0t0 TCP *:commplex-main (LISTEN) ``` NOTE β”‚ This post is a thought . It’s a short note that I make about someone else’s content online #thoughts