Network Response Time Out Error (create-react-native-app) (expo)

后端 未结 26 1665
后悔当初
后悔当初 2020-12-02 10:00

I am trying to run create-react-native-app on expo app in android.

Firstly ,I created the project by writing command

create-react-native-app t

26条回答
  •  伪装坚强ぢ
    2020-12-02 10:28

    You Just need to open the port in Window Firewall and everything should work.

    1.On the Start menu, click Run, type WF.msc, and then click OK.

    In the Windows Firewall with Advanced Security, in the left pane, right-click Inbound Rules, and then click New Rule in the action pane.

    In the Rule Type dialog box, select Port, and then click Next.

    In the Protocol and Ports dialog box, select TCP. Select Specific local ports, and then type the port number of the instance of the React port, such as 19000 for the default instance. Click Next.

    In the Action dialog box, select Allow the connection, and then click Next.

    In the Profile dialog box, select any profiles that describe the computer connection environment when you want to connect to the Database Engine, and then click Next.

    In the Name dialog box, type a name and description for this rule, and then click Finish.

    Similarly you can open port 19001 too.

提交回复
热议问题