php cannot access localhost

藏色散人
Release: 2023-02-25 18:44:01
Original
7989 people have browsed it

php cannot access localhost

php cannot access localhost?

Solution:

1. Visit 127.0.0.1 to see if you can access it

2. If you can, open it with Notepad C:/WINDOWS/system32/drivers/etc/hosts file, see if it contains: 127.0.0.1 localhost, if not, add it, and then check whether you can access localhost.

3. If you cannot access it, try reinstalling it

For more PHP knowledge, please visit PHP Chinese website!

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

Related labels:
php
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