First step
Lsof – I: port number
The thread occupying the port was found
Step 2
Sudo kill – kill thread number
Or
Sudo kill – 9 thread number
1 (HUP): reload the process.
9 (kill): kill a process.
15 (term): normally stop a process.
First step
Lsof – I: port number
The thread occupying the port was found
Step 2
Sudo kill – kill thread number
Or
Sudo kill – 9 thread number
1 (HUP): reload the process.
9 (kill): kill a process.
15 (term): normally stop a process.