react-native icon indicating copy to clipboard operation
react-native copied to clipboard

ReactNative Custom Port support

Open sachin1 opened this issue 10 years ago • 3 comments

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?

sachin1 avatar Jan 03 '16 17:01 sachin1

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-native or 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!

facebook-github-bot avatar Jan 03 '16 17:01 facebook-github-bot

Duplicate of #1429 -- you can upvote here: https://productpains.com/post/react-native/allow-packager-port-to-be-configurable-change-from-8081/ :)

brentvatne avatar Jan 04 '16 02:01 brentvatne

Is there any hack available to make it work on windows for different port number for android development? any pointers on this are appreciated..

sachin1 avatar Jan 04 '16 06:01 sachin1