Cannot access this site

I have run apt-get update && apt-get install php7.0-intl unzip.
Then I restart vps, I get an error I cannot access this website.
According to the test, I lost port 80 and 443 by apache2.

root@sv:~# netstat -nlp|grep 80
tcp        0      0    *               LISTEN      1051/apache2

How to fix the problem?

And my temporary fix is to fix ports.conf files in the /etc/apache2 directory.

Listen 80
<IfModule ssl_module>
	Listen 443
<IfModule mod_gnutls.c>
	Listen 443

That’s my way and the website is working.

Stop and remove apache2 completely. The stopping and removal steps depend on the OS you’re using. They can be easily found on searching.

1 Like