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 💯
While running react native on an iphone, how do i connect to my socket server? I've tried pointing the
io.connectmethod 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:3000I am able to successfully connect. Any help would be appreciated 💯