1、使用systemctl status nginx.service -l查看详情部分详情:ngin垓矗梅吒x: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)nginx: [emerg] still could not bind()Aug 06 14:08:30 jumpserver systemd[1]: nginx.service: control process exited, code=exited status=1Aug 06 14:08:30 jumpserver systemd[1]: Failed to start The nginx HTTP and reverse proxy server.

5、因为80端口是专用端口,需要使用sudo命令fuser命令识别正在对某个文件或端口访问的进程-k参数:杀掉访问文件的进程。
6、重启nginxservice nginx reloadnginx http和反向代理服务已经可以正常重启了。
