-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS platform not working (workaround in issue) #136
Comments
0.0.0.0 is not a valid server ip. Lookup your laptop/pc or whatever is hosting your service IP. It can be the local network ip e.g. 192.168.x.x or 10.0.x.x if you are on the same wifi, otherwise you'll need the public host IP or domain name if you own one. so e.g. if you were on the 192.168 local domain and your hosting laptop has an ip of 192.168.1.2 you could connect via
if you use the default port 3000 as used in the chat example: https://github.com/getnamo/socketio-client-ue4-example/blob/master/server/index.js |
No I just use 0.0.0.0 to cover my server real ip. |
|
And here's my plist: |
Ok I think I got this work. And in ue4 you should write like this: |
I connect to my own server using ip address like "http://0.0.0.0:0" and it worked in windows.
In the case of iOS platform,though I check the "Allow web connection to non-https websites",it doesnt work on my iphone(ios 11).
I tired to add plist:
<key>0.0.0.0(my server ip address)</key> <dict> <key>NSExceptionAllowsInsecureHTTPLoads</key> <true/> <key>NSExceptionRequiresForwardSecrecy</key> <false/> <key>NSIncludesSubdomains</key> <true/> </dict>
should I use a domain name to connect to my server?
if so what should I do?
Or there's other problem causing this issue.
Looking for help.
Thanks^_^
The text was updated successfully, but these errors were encountered: