简体   繁体   中英

Changing React Native Debugger port (Windows 10)

I'm using port 8088 instead of 8081 for my Android emulator ( using these instructions ), running on Windows 10.

The React Native Debugger is now throwing a ERR_CONNECTION_RESET error, which I suspect is because it's trying to connect to port 8081 (photo below).

How can I set the Debugger to use port 8088 ?

在此处输入图片说明

在此处输入图片说明

Note: I cannot use port 8081 because my school requires McAfee antivirus which uses the port. I promise, I wish I could just use 8081

Edit: Added emulator error

UPDATE

It appears that this is a known issue . Luckily, there is a pull request out to fix it .

In the meantime, I ended up stopping the program that was on port 8081 using Windows Services (search for 'services' in the Windows 10 search bar).

此问题已在本机0.42及更高版本中修复。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM