javaweb项目为什么要把localhost拦截,必须要127.0.0.1访问?
阿神
阿神 2017-04-18 10:55:59
0
3
529

有什么不同吗?为什么要拦截localhost

阿神
阿神

闭关修行中......

reply all(3)
黄舟

127.0.0.1 is the loopback address, referring to the local machine.

The reason why you can use localhost to access the local area is that the localhost domain name is pointed to 127.0.0.1 in the system's host file, so please check whether the system host file configuration is correct.

Peter_Zhu

This situation occurs when Ajax cross-domain requests are made.

阿神

Because I can change the mapping of 127.0.0.1 in the host file to zhouxingchi

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!