Home > Backend Development > PHP Tutorial > 如何用手机访问电脑本地的localhost网页?

如何用手机访问电脑本地的localhost网页?

PHPz
Release: 2020-09-04 14:14:20
Original
9672 people have browsed it

如何用手机访问电脑本地的localhost网页?

用手机访问电脑本地的localhost网页方法:

1、先确保你的手机和电脑连在同一个局域网内。

2、打开cmd命令行,输入ipconfig命令获取ip地址, 长这样: 192.168.XX.XX

1.png

3、手机浏览器里输入这个地址: http://192.168.XX.XX:8080

注意:

如果上面方法仍然不行. 关掉360一类的杀毒软件, 再试下,还不行的话关掉防火墙, 因为这问题跟防火墙有关系

更多相关知识,请访问 PHP中文网!!

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