search

Home  >  Q&A  >  body text

Objective-c - The simulator in React Native cannot connect to the local server?

The local server has been opened and can be accessed by the browser. The local access http request is also enabled in xcode.

It has been restarted, the code has been deleted and reinstalled. Only the offline mode of the bundle can run.

漂亮男人漂亮男人2772 days ago509

reply all(2)I'll reply

  • 滿天的星座

    滿天的星座2017-05-02 09:25:00

    When you are sure that the server is open and there are no other errors, press command+R in the emulator and it should be fine

    reply
    0
  • 迷茫

    迷茫2017-05-02 09:25:00

    Run npm start on command

    reply
    0
  • Cancelreply