停止Apache服务后,为什么我仍然可以在我的IP地址上获得Apache默认页面?

问题描述 投票:0回答:1

我想安装Nginx,但端口80已被Apache2占用。我停下来:

$ sudo kill -9 my-apache-pid

$ sudo service apache2 stop

$ sudo /etc/init.d/apache2 stop
[ ok ] Stopping apache2 (via systemctl): apache2.service.

我可以安装Nginx。我用sudo systemctl status nginx。它显示运行良好,Apache2似乎无效。但是当我在浏览器中输入我的IP地址时,它仍然显示Apache2 hello-page。为什么?

linux nginx apache2
1个回答
2
投票

我有同样的问题。令我惊讶的是清除历史记录和浏览器的cookie工作。

© www.soinside.com 2019 - 2024. All rights reserved.