I have a situation where I kill a process, but when restarting it, I get the Address already in use error.
I am running sudo netstat -lntp to get the process ID, which returns, for example:
tcp 0 0 0.0.0.0:8002 0.0.0.0:* LISTEN 475/valhalla_servic
I then run sudo kill -9 475
After running this, netstat no longer shows the process, but when I try to restart I receive the Address already in use error and I'm not sure what I'm doing wrong?
kill -9? Does the same happen with signals other than KILL? – Panki Jan 11 '22 at 09:55-pmean exactly process!!! check man ofnetstat– Romeo Ninov Jan 11 '22 at 10:13