实际上,我正在尝试在我的 android 手机上运行我的 localhost react 应用程序。为此,我使用了 ngrok。但是过了一段时间后,它会抛出 ERR_NGROK_702 的错误。
如果有人有从 Linux 操作系统在我的 Android 手机上运行 localhost react 应用程序的解决方案。那么请指导我。
你可以试试httpdumper npm module
更多信息在这里:https://dev.to/merlier/how-to-test-your-local-website-on-real-phone-devices-2o11
https://github.com/localtunnel/localtunnel 应该会有所帮助。
如果您想要自托管替代方案,您可以使用https://github.com/mmatczuk/go-http-tunnel。