Unable to create connection to localhost with Defold

Hello,
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.

0_1589465758491_a953f78a-1ae1-4d96-ac84-2841d392ca4f-image.png

Localhost can accesed on browser. But unable in Defold.
0_1589465780493_7ed82ba5-75af-46e7-a87a-37ff2bd1a325-image.png

Does anyone has experience on it.
Help me please.
Thanks

Can you test the server with another client?

@virtumonde said in Unable to create connection to localhost with Defold:

Can you test the server with another client?

I did test, but same issue. Even with creating new project.

Oh god of divine authoritative servers, @endel please share your insights about this problem.