I tried to follow the demo tutorial of Colyseus with Defold (image below - lua)
But the app can not connect (create/join) to room with localhost.
When I replaced the localhost by the demo url on herokuapp, the code worked normally.
I don't know the reason of this issue.
Localhost can accesed on browser. But unable in Defold.
Does anyone has experience on it.
Help me please.