Hi
I open construct2 chatroom example from File->New menu -> example: Multiplayer -chatroom
1- I just changed the Game_NAME,INSTANCE_NAME and ROOM_NAME.
2- I export project as html5
3- upload it to my host: shikpoosh24.ir/tmp/chat3
First scenario works fine:
I have a mobile and a laptop.
1- I turn on my mobile wifi and laptop wifi and connect both of them to my adsl modem
2- I connect to chatroom with my mobile and it will be host
3- I connect to chatroom with my laptop, it will be peer and every thing just work as expected.
Second scenario doesnt works:
I have a mobile and a laptop.
1- I turn on my mobile 4G data and connect to chatroom, my mobile will be host
and this is the screenshot:
shikpoosh24.ir/tmp/a.png
2 - I connect to chatroom with my laptop over wifi and this is my laptop screen shot:
shikpoosh24.ir/tmp/b.png
as you see in above screenshot my laptop join the chatroom as peer but automatically kicked after about 20 seconds and could not connect to the host.
every time both of my device are in same network chatroom works but when I try to connect them to chatroom via different network it doesnt work.
anybody can help?
thanks you that take time and read my question