I´m developping a website with mobile version, and I Want to test in my smartphone how The website is behaving in this device. I tried to acess my localhost from my mobile but its not working. Anyone there knwos how I can connect to my localhost project from my mobile?
2条回答 默认 最新
- duanjing7298 2014-03-23 17:36关注
you can do it by modifying httpd.conf in Apache you have to set up
find following code and replace From:
<Directory "c:/wamp/www/"> #onlineoffline tag - don't remove Order Deny,Allow Deny from all Allow from 127.0.0.1 </Directory>
To:
<Directory "c:/wamp/www/"> #onlineoffline tag - don't remove Order Deny,Allow #Deny from all Allow from all </Directory>
and turn on WiFi, put the
IP
address in your mobile. Now Done!本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥100 求汇川机器人IRCB300控制器和示教器同版本升级固件文件升级包
- ¥15 用visualstudio2022创建vue项目后无法启动
- ¥15 x趋于0时tanx-sinx极限可以拆开算吗
- ¥500 把面具戴到人脸上,请大家贡献智慧
- ¥15 任意一个散点图自己下载其js脚本文件并做成独立的案例页面,不要作在线的,要离线状态。
- ¥15 各位 帮我看看如何写代码,打出来的图形要和如下图呈现的一样,急
- ¥30 c#打开word开启修订并实时显示批注
- ¥15 如何解决ldsc的这条报错/index error
- ¥15 VS2022+WDK驱动开发环境
- ¥30 关于#java#的问题,请各位专家解答!