Skip to content

How to connect to socket server from device? #6

@camwhite

Description

@camwhite

While running react native on an iphone, how do i connect to my socket server? I've tried pointing the io.connect method towards the IP where the server is running on my local network, but no luck making a connection..

However, when running in the simulator and pointing towards localhost:3000 I am able to successfully connect. Any help would be appreciated 💯

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions