Home>Article>Operation and Maintenance> phpstudy cannot connect to localhost

phpstudy cannot connect to localhost

Christopher Nolan
Christopher Nolan Original
2019-11-01 16:19:22 10036browse

phpstudy cannot connect to localhost

Several solutions to why phpstudy cannot connect to localhost:

1. Comment out "#ServerName localhost:80" or "ServerName localhost" in httpd.conf Just drop it.

2. The port number is occupied, click "Apach Settings" and set port 80 to 8080 or other

2. Make a modification to httpd-conf in "Configuration File"

 Options FollowSymLinks AllowOverride None Order deny,allow deny from all Satisfy all 

deny from all changed to allow from all

The above is the detailed content of phpstudy cannot connect to localhost. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn