netstat  -tln

查看到80端口被打开了,处于监听的服务状态。目的:不再让80端口开放。以免整个ip被误杀。

使用

service nginx stop

运行中没有报错。

之后再运行

netstat -tln

查看到80端口已经被关闭了。

 

相关文章: