when i try to start nginx its works well but i cant see my site in my domain and when i looks for a error log its says this ” gunicorn[313208]: [2024-08-14 05:56:29 +0000] [313208] [ERROR] Connection in use: (‘0.0.0.0’, 8000) ” so i run this command ” sudo lsof -i :80 ” to check which process is using this port. I saw that these “
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
nginx 316452 root 6u IPv4 1073432 0t0 TCP *:http (LISTEN)
nginx 316452 root 7u IPv6 1073433 0t0 TCP *:http (LISTEN)
nginx 316453 www-data 6u IPv4 1073432 0t0 TCP *:http (LISTEN)
nginx 316453 www-data 7u IPv6 1073433 0t0 TCP *:http (LISTEN) ” process are using the port which are my nginx. even though i kill that ports using this sudo kill -9 316452 316453 command. Its still appearing again. can anyone help ?
tried these codes already
gunicorn[313208]: [2024-08-14 05:56:29 +0000] [313208] [ERROR] Connection in use: (‘0.0.0.0’, 8000)
sudo lsof -i :80
sudo kill -9 316452 316453
Kalayarasantitus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.