GMnet-ENGINE icon indicating copy to clipboard operation
GMnet-ENGINE copied to clipboard

Udphp client can't connect to the udphp server

Open Limonado opened this issue 3 years ago • 1 comments

I imported the udphp demo project on gamemaker studio 2.3 and it wasn't working properly, i managed to fix a lot of issues but i'm now stuck with this: Everything works perfectly, i can create the server, connect to the master server, receive the list, create the client but the client can't connect with the server, even after the master server log says they are connected. The client tries to send packets to the server but the server doesn't receive them, the same happens with the server trying to punch a hole on the client and i don't know whats happening. I thought it was because i'm testing everything on the same machine but i sent it to a friend and got the same results

Also before this i imported the standard gmnet engine project and it wasn't working too

Limonado avatar Oct 07 '20 15:10 Limonado

Hi, What IP are you trying to use to connect to the server from the client?

The same thing happened to me trying local. I realized that on the same PC I must use the default IP (127.0.0.1) and despite the fact that the intermediary server says that it does not connect, the connection is established. And when I passed it to a friend, I had to give him the public IP of my PC so that he could connect.

I don't know if this is your case, hopefully it will help you.

Regards.

versoftrd avatar Jan 02 '21 03:01 versoftrd