【发布时间】:2014-02-26 11:40:57
【问题描述】:
我正在关注https://developers.google.com/chrome-developer-tools/docs/remote-debugging#reverse-port-forwarding。
我的安卓设备显示在我桌面上的 Chrome 中chrome://inspect。
我的桌面上正在运行一个服务器。 http://localhost:3000 在我桌面上的 Chrome 中加载正常。
我尝试单击端口转发按钮并输入8080 和localhost:3000,然后在Android 上的Chrome 中导航到http://localhost 和http://localhost:3000,但我只收到“无法连接到服务器”消息。它不会接受 80 和 localhost:3000 作为有效选项。
我需要做什么才能从我的安卓设备上查看我桌面上的服务器?
(顺便说一句,如果您知道这个问题的答案,也许您还可以通过Chrome Remote Debugging a local site on a Virtual Machine with port forwarding 提供帮助)
【问题讨论】:
标签: android debugging google-chrome