Question : find pid of a port and kill the process in linux
Answered by :
lsof -i tcp:5000
kill -9 PID
Source : | Last Update : Sun, 09 Jan 22
Question : kill pid and find it of a port number
Answered by : daddy-evil
lsof -i :3000
Source : https://chat.openai.com/?model=gpt-4 | Last Update : Sat, 15 Jul 23
Question : kill pid and find it of a port number
Answered by : daddy-evil
getiing this error
{ code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 3000
}
lsof -i :3000
kill -9 <PID>
Source : https://chat.openai.com/?model=gpt-4 | Last Update : Sat, 15 Jul 23