gpt4 book ai didi

android - 更改 React Native 调试器端口 (Windows 10)

转载 作者:可可西里 更新时间:2023-11-01 10:42:54 24 4
gpt4 key购买 nike

我在 Windows 10 上运行的 Android 模拟器 (using these instructions) 使用端口 8088 而不是 8081

React Native Debugger 现在抛出一个 ERR_CONNECTION_RESET 错误,我怀疑这是因为它正在尝试连接到端口 8081(下图)。

如何将调试器设置为使用端口 8088

enter image description here

enter image description here

注意:我无法使用端口 8081,因为我的学校需要使用该端口的 McAfee 防病毒软件。我保证,我希望我可以只使用 8081

编辑:添加模拟器错误

最佳答案

更新

看来 this is a known issue .幸运的是,有一个 pull request out to fix it .

与此同时,我最终使用 Windows 服务(在 Windows 10 搜索栏中搜索“服务”)停止了端口 8081 上的程序。

关于android - 更改 React Native 调试器端口 (Windows 10),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41755368/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com