1
我嘗試重新啓動Ubuntu的16.04上的Apache服務,但我不能因爲端口'80'是由nginx監聽。 但是當我試圖阻止nginx時,找不到該服務。nginx啓動,但沒有找到在Ubuntu的服務
netstat -ltnp | grep ':80'
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 6069/nginx
systemctl status nginx
● nginx.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
service nginx stop
Failed to stop nginx.service: Unit nginx.service not loaded.
那麼,如何停止nginx以重新啓動Apache?
感謝您的幫助