Mac上啓動nginx報錯:nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use)

Mac上啓動nginx報錯:nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use) 緣由: 80端口已被佔用(可能由於未成功關閉一些服務,如nginx服務等) 解決: sudo nginx -s stop(或者:sudo nginx -s quit),而後從新啓動(sudo nginx). 固然,若是是由於
相關文章
相關標籤/搜索