1.ps aux | grep -E (nginx|apache|httpd) | grep -v grep2.sudo lsof -i :80hxsky:/var/www/html/hxpython$ ps aux | grep -E (nginx|apache|httpd) | grep -v greproot 748 0.0 0.0 55368 2996 ? Ss 8月22 0:00 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;www-data 750 0.0 0.1 56332 6572 ? S 8月22 0:00 nginx: worker processwww-data 751 0.0 0.1 56048 5900 ? S 8月22 0:00 nginx: worker processwww-data 753 0.0 0.1 56048 5832 ? S 8月22 0:00 nginx: worker processwww-data 756 0.0 0.1 56048 5832 ? S 8月22 0:00 nginx: worker processhxsky:/var/www/html/hxpython$hxsky:/var/www/html/hxpython$hxsky:/var/www/html/hxpython$hxsky:/var/www/html/hxpython$hxsky:/var/www/html/hxpython$ sudo lsof -i :80[sudo] hx 的密码COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAMEnginx 748 root 6u IPv4 5838 0t0 TCP *:http (LISTEN)nginx 748 root 7u IPv6 5839 0t0 TCP *:http (LISTEN)nginx 750 www-data 6u IPv4 5838 0t0 TCP *:http (LISTEN)nginx 750 www-data 7u IPv6 5839 0t0 TCP *:http (LISTEN)nginx 751 www-data 6u IPv4 5838 0t0 TCP *:http (LISTEN)nginx 751 www-data 7u IPv6 5839 0t0 TCP *:http (LISTEN)nginx 753 www-data 6u IPv4 5838 0t0 TCP *:http (LISTEN)nginx 753 www-data 7u IPv6 5839 0t0 TCP *:http (LISTEN)nginx 756 www-data 6u IPv4 5838 0t0 TCP *:http (LISTEN)nginx 756 www-data 7u IPv6 5839 0t0 TCP *:http (LISTEN)hxsky:/var/www/html/hxpython$hxsky:/var/www/html/hxpython$hxsky:/var/www/html/hxpython$hxsky:/var/www/html/hxpython$hxsky:/var/www/html/hxpython$hxsky:/var/www/html/hxpython$hxsky:/var/www/html/hxpython$ curl -I http://192.168.1.12 2/dev/null | grep -i serverServer: nginx/1.18.0 (Ubuntu)hxsky:/var/www/html/hxpython$