nw_socket_handle_socket_event [C3.1.2:1] Socket SO_ERROR [61: Connection refused] - error I receive when trying to connect to my app from iPhone. Connecting to the console & database from computer works normally.
Should I change something in my config? Ports maybe?
Summary
The user had an issue with connecting to the localhost instance from a mobile device. They mentioned that it was working in the simulator, but not on a real iOS device. Changing the localhost to the computer's IP address solved the problem. The user was unsure why it stopped working initially and asked if there should be any changes made to the config or ports.
dch09
Rank 2: Process
Sep 10, 2023, 15:14
Changing localhost to computer ip fixed it, but that does not explain how it stopped working in the first place
Drake
Sep 15, 2023, 20:24
i wouldn't have expected localhost to work in the first place if you were using a separate real iOS device 🧐
Drake
Sep 15, 2023, 20:24
[SOLVED] Can't connect to localhost instance from mobile device