windows 使用nginx

windows 安装nginx

进入此地址进行下载

http://nginx.org/en/download.html

解压到相关目录

启动 start nginx
关闭 nginx -s stop
nginx -s reload

nginx启动绑定80端口错误,查看进程后system进程。解决办法如下:
这里可能是sqlserver report service 引起的的,从sqlserver配置工具中闭关此服务即可。

windows中查看端口占用

netstat -aop |findstr 端口号

windows 查看进程列表

tasklist |findstr "进程编号"
原文地址:https://www.cnblogs.com/liuxm2017/p/9627011.html