After the ING, the Port cannot be assigned to my IP address, but the website cannot be accessed.
Source: Internet
Author: User
After the ING, the Port cannot be assigned to my IP address, but the website cannot access the Ing. then, the port is assigned to my local IP address, but the internet cannot access my site. In addition, you cannot use a local IP address to access other computers in the LAN. you cannot use a local IP address to access the computer. For example: http: // localhost: 8080/baidu_game/index. php can access http: // after ING, the Port cannot be assigned to my IP address, but the website cannot access
After ING, give the Port to my local IP address, but the internet cannot access my site.
In addition, you cannot use a local IP address to access other computers in the LAN. you cannot use a local IP address to access the computer.
For example:
Http: /localhost: 8080/baidu_game/index. php
Accessible
It cannot be accessed. (192.168.4.233) is the IP address of my local LAN.
I can access all the PHP suites I used in the past. now I can't use this new suite.
For more information, see.
------ Solution --------------------
ServerName localhost
Change
ServerName 192.168.4.233
------ Solution --------------------
Modify the hosts file. the hosts of The etc hosts under drivers under the system category...
I hope I don't want to say anything else.
------ Solution --------------------
In your apache settings.
------ Solution --------------------
Discussion
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.