- See if port 80 is occupied, and more generally port 80 is occupied apache service.
netstat -anp|grep 80
2. Modify the apache service port number
vim /etc/apache2/ports.conf
3. The port number of 8080
4. Modify service configuration nginx
vim /etc/nginx/conf.d/nginx.conf
5. Restart nginx service
service nginx restart
6. page attempts to access local resources
7. Access Success!
problem solved!