报错示例:
- type: unauthorized
- type: DNS
- type: connection
步骤:
- 关闭nginx(在生成之前把它关闭)
- 关闭防火墙
- 如果使用pm2开启项目,请杀死pm2进程 如果还是不行,那么检查以下情况
- 查看端口暂用情况netstat -ano
- 查找端口:netstat -ano|findstr "80"
- 查看端口对应进程tasklist | findstr "4560"
- 结束进程taskkill /f /t /im svchost.exe
- 重新生成certbot certonly --standalone