linux free port 8080 1

linux free port 8080

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

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

Similar Posts