ReactNative Custom Port support
Hi,
I am trying to configure react native for windows for android app development but I am unable to use port 8081 as it is used by McAfee agent on my laptop. I am able to start node js server on different port (8090) but when i am running command: reactnative run-android - i am unable to specify port option. Looks to be that it is hardcoded with 8081. Is there anyway i can start reactnative run-android for 8090 port on windows?
Hey sachin1, thanks for reporting this issue!
React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.
- If you don't know how to do something or something is not working as you expect but not sure it's a bug, please ask on StackOverflow with the tag
react-nativeor for more real time interactions, ask on Discord in the #react-native channel. - If this is a feature request or a bug that you would like to be fixed, please report it on Product Pains. It has a ranking feature that lets us focus on the most important issues the community is experiencing.
- We welcome clear issues and PRs that are ready for in-depth discussion. Please provide screenshots where appropriate and always mention the version of React Native you're using. Thank you for your contributions!
Duplicate of #1429 -- you can upvote here: https://productpains.com/post/react-native/allow-packager-port-to-be-configurable-change-from-8081/ :)
Is there any hack available to make it work on windows for different port number for android development? any pointers on this are appreciated..