hi guys, need help please.
i’m pretty new to unity networking. I’m trying to create a client-server setup. Right now, i’m building the server (so no client connections yet). i’ve been receiving this error randomly:
The connection request to 72.52.207.14:50001 failed. Are you sure the server can be connected to?
thing is, i don’t know this ip (this is not my machine’s ip, and i’m the host, i think). i did a whois and returned an address from unity3d.
i don’t receive it always. sometimes i don’t meet it at all. but it kinda creeps me out. Anyone has an idea why? thanks in advance.
That’s the current address of the default testing master server which we host.
For released games it’s recommended you use either one of the community hosted ones or your own as ours gets hammered by testing and we have no guarantees on its uptime.
If you have no idea what a master server is, then in short it’s a central service which facilitates game listing and NAT punch-through. For more information, look here:
http://unity3d.com/support/documentation/Components/net-MasterServer.html
→ So much solicited that he “die” of “excessive work” (can’t find the right english words)?
Seriously ? I thought the work of a master server was “pretty” easy (simply returning lists of servers registered)…
As mentioned the master server does game listing and NAT punch-through. Don’t underestimating the power of loads of users debugging their networking code whilst hitting the same server.
hi guys. thanks for the reply.
i don’t think im using a master server. I didn’t use any of the methods exposed, or the masterServer class itself.
–edit–
ok, it happened again. so i went back thru my code and this is how i initialize my server(Got these from the manuals):
Network.useNat = !Network.HavePublicAddress();
Network.InitializeServer(32, 25002);
still creeps me out. I decided to move along though, thinking there’s a perfectly valid explanation for this error.
hi guys, bumping this thread up.
so i was running our test setup for 2 days straight now and i got these:
Connection lost to NAT facilitator, reconnecting.
i got 3 of those errors this morning then the ip error
The connection request to 72.52.207.15:50001 failed. Are you sure the server can be connected to?
i’ll try to set Network.useNat = false, but i don’t think that’s smart since we’re planning to deploy this over the internet.