Skip to content

Could not connect to development server just after react-native init #13543

@jaggerwang

Description

@jaggerwang

Description

The ip in bundle url is not my MacBook's local ip 192.168.1.135.

image

After change host & port in "Dev settings" to "192.168.1.135:8081", it still has the same error. The packager server is running.

image

Reproduction Steps and Sample Code

> react-native init gtgj
> cd gtgj
> react-native run-android

Additional Information

  • React Native version: 0.43.3
  • Platform: Android
  • Development Operating System: MacOS
  • Dev tools: react-native

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions