how to terminate localhost 3000 linux 1

how to terminate localhost 3000 linux

sudo kill -9 $(sudo lsof -t -i:3000)

Here is what the above code is Doing:
1. sudo lsof -t -i:3000
– This command will list all the processes running on port 3000.
2. sudo kill -9 $(sudo lsof -t -i:3000)
– This command will kill all the processes running on port 3000.

Similar Posts