Connect() to 'ns.exitgames.com' failed: System.Net.Sockets.SocketException: No such host is known

Options
I just keep getting this error in unity. Even the demos in the PUN are throwing the same error. I am using unity 5.5.1 and PUN free version.

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @Rahul,

    Thank you for choosing Photon!

    Please make sure the Photon client can access Photon servers from the network (in this case nameserver ns.exitgames.com).
    Try changing the network.
  • Rahul
    Options
    Thank you for the reply !

    I tried to ping ns.exitgames.com but it is showing Request Timed out.

    Here is the result:-

    ping ns.exitgames.com

    Pinging nameserver-asia.cloudapp.net [104.215.158.132] with 32 bytes of data:
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.

    Ping statistics for 104.215.158.132:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @Rahul,

    Yes that is expected. Photon nameserver runs on Azure which blocks ICMP.
    You should make sure it works inside Photon itself. :)