How to kill a process blocking a port in just one line using your terminal | Command Line 101

preview_player
Показать описание
In this video we are going to learn how to kill a process blocking a specific port in just one line using your terminal.

It happened to all of us: We start a service and the command line tells us 'Address already in use'. Awesome. By which service? Which process do I have to kill? And how do I even kill it?!

⏱️ Timestamps:
00:00 - Introduction
00:37 - The lsof command + explanation
01:31 - The magic one liner + explanation

Рекомендации по теме