Photon PUN connection failed

Options
Hello, a problem connecting to Photon servers from the USA (Los-Angeles, Call California). When connecting from other regions, there are no problems.
Unity gives an error when debugging - Autoconnected Player DNS.GetHostEntry () failed for: ns.exitgames.com. Exception: System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'ns.exitgames.com'.

Please help solve this problem. thank you for your time

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @GenaValera,

    Thank you for choosing Photon!

    Maybe the machine where you run this on cannot resolve our nameserver.
    if you do "nslookup ns.exitgames.com" on a cmd or PowerShell do you get a result back?
    if not maybe set the DNS server to 1.1.1.1 or 8.8.8.8 or 8.8.4.4.

    What PUN version are you using?
    What Unity version are you using?
    What target platform is this?
    Does it happen in the Editor or only in a build client?
    What Scripting Backend? Mono/.NET version?

    Did you try building & connecting from demo scenes?
    Did you try another Unity version?
    Did you try another network?
    Did you try building on another machine?
    Did you try the build on another machine?