You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.
I run the Server test app on simulator, then I can use https://www.websocket.org/echo.html to test by connecting to ws://<127.0.0.1>:port, however, if I run the app on a device, then it's not possible to connect using ws://device-ipaddress:port. Anyone got the same issue?
P/S: I am using initWithHost:nil port:xxx to bind the server to INADDR_ANY so that supposes to use the current ip address of the device as the host.
The text was updated successfully, but these errors were encountered:
I run the Server test app on simulator, then I can use https://www.websocket.org/echo.html to test by connecting to ws://<127.0.0.1>:port, however, if I run the app on a device, then it's not possible to connect using ws://device-ipaddress:port. Anyone got the same issue?
P/S: I am using initWithHost:nil port:xxx to bind the server to INADDR_ANY so that supposes to use the current ip address of the device as the host.
I meet the same issue, is now the problem solved?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I run the Server test app on simulator, then I can use https://www.websocket.org/echo.html to test by connecting to
ws://<127.0.0.1>:port
, however, if I run the app on a device, then it's not possible to connect usingws://device-ipaddress:port
. Anyone got the same issue?P/S: I am using
initWithHost:nil port:xxx
to bind the server toINADDR_ANY
so that supposes to use the current ip address of the device as the host.The text was updated successfully, but these errors were encountered: