Skip to content
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

Udphp client can't connect to the udphp server #90

Open
Limonado opened this issue Oct 7, 2020 · 1 comment
Open

Udphp client can't connect to the udphp server #90

Limonado opened this issue Oct 7, 2020 · 1 comment

Comments

@Limonado
Copy link

Limonado commented Oct 7, 2020

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

@versoftrd
Copy link

versoftrd commented Jan 2, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants