Search Unity

Fix connect with Photon PUN master server

Discussion in 'Connected Games' started by HamoOOo, Aug 11, 2019.

  1. HamoOOo

    HamoOOo

    Joined:
    Jun 25, 2019
    Posts:
    2
    Hi ,
    Iam sufer from this problem
    ("Connect() to 'ns.exitgames.com' () failed: System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'ns.exitgames.com'
    ")
    This problem appear when i trying to connect with master server with code : PhotonNetwork.ConnectUseingSettings
    Iam using Photon PUN2 - free
    Unity 2019.1.4
    Please help me
     
  2. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    2,187
    Does this happen in the Editor? Or in the export?
    This looks as if your build/Editor is not able to connect to the internet, which is a must.
     
    HamoOOo likes this.
  3. HamoOOo

    HamoOOo

    Joined:
    Jun 25, 2019
    Posts:
    2
    This happen in the Editor and my Editor is connect with internet , some people said that this problem happen because of internet company not inernet connection
    and to fix this problem i should use VPN , but if i use VPN and it work for me , i don't know if the other people can connect with server or no