React Native Expo change default LAN IP

后端 未结 10 1027
星月不相逢
星月不相逢 2020-12-13 09:23

I\'ve got virtual box installed. And when I look at the host > LAN > ip address is exp://192.168.56.1:19000.

How can I change it without disable the network? because

10条回答
  •  长情又很酷
    2020-12-13 10:01

    Sharing my experience using EXPO with Cloud 9 and AWS Amplify. Similar with you, the QR code gives exp://localhost:19000

    As the Security Group has been configured to provide public access, I regenerate the QR code to have it accessible from public IP address of exp://X.X.X.X:19000, this can be scanned from IOS devices to EXPO.

提交回复
热议问题