phpstudy cannot connect to localhost

Release: 2019-11-01 16:19:22
Original
10109 people have browsed it

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"

<Directory />
     Options FollowSymLinks
     AllowOverride None
     Order deny,allow
     deny from all
     Satisfy all
</Directory>
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!