JavaWeb - 手机如何访问电脑本地localhost网页以调试项目?

案例

《JavaWeb - 手机如何访问电脑本地localhost网页以调试项目?》

 

步骤

1、电脑开启热点

《JavaWeb - 手机如何访问电脑本地localhost网页以调试项目?》

2、查看 WIFI 密码

《JavaWeb - 手机如何访问电脑本地localhost网页以调试项目?》

3、手机连接到此热点

《JavaWeb - 手机如何访问电脑本地localhost网页以调试项目?》

4、Windows + R 快捷键调出DOS,CMD命令输入:”ipconfig” 以获取IPv4地址

《JavaWeb - 手机如何访问电脑本地localhost网页以调试项目?》

5、在手机端访问这个网址

《JavaWeb - 手机如何访问电脑本地localhost网页以调试项目?》

6、访问成功

《JavaWeb - 手机如何访问电脑本地localhost网页以调试项目?》

Ps:如无法访问 ,请关闭电脑防火墙。

    原文作者:放羊的牧码
    原文地址: https://blog.csdn.net/Dream_Weave/article/details/88551831
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞