Bha*_*pta 5 https google-chrome portforwarding google-chrome-devtools
我浏览了这篇文章以在 chrome 中设置端口转发。
虽然我能够为非安全 (http) 端口解决这个问题,但我无法让它为安全 (https) 端口工作。在这两种情况下(http 和 https),页面都会加载到我的笔记本电脑中。只是 https 页面没有加载到我的 android 手机中。
这是 https 站点的配置。
有人可以帮忙吗?
我花了将近一周的时间才找到这个解决方法。使用此方法,您不需要 root 设备或使用代理。
您只需要port forward on chrome
像您一样edit an android hosts file
使用虚拟主机即可。如果直接链接不起作用,可以在虚拟主机版本apk
下使用。
在您的设备上,创建一个hosts.txt
将 IP 地址映射到主机名:
127.0.0.1 domain.com
127.0.0.1 subdomain.domain.com
Run Code Online (Sandbox Code Playgroud)