I am using react native android and having face issue to deploy the app on android device. When I run
react-native start, it won't start dev sever on port 8081
I have tried few options mentioned at:
1) https://facebook.github.io/react-native/docs/troubleshooting.html
2) Tried to stop process running at port number 8081, but no success
My question is that can we change the react native dev server port from 8081 (which is default in android howwever the same we can change in ios from AppDelegate.m file) to some thing else or any other approach
Your responses will be highly appreciated. Thanks
Set
RCT_METRO_PORT
, example:https://facebook.github.io/react-native/docs/troubleshooting#using-a-port-other-than-8081