Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

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,358
    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
     
unityunity