Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Third Party Unity cannot connect public IP Photon server settings

Discussion in 'Multiplayer' started by DrugSandwich, Jul 23, 2017.

  1. DrugSandwich

    DrugSandwich

    Joined:
    Dec 30, 2016
    Posts:
    13
    So the problem is i have my application running for Photon server
    down in the right http://imgur.com/a/NYcUp
    and its set with the public Ip my Public ip so i go to unity with the Photon pakage and i go to the PhotonServerSetting and i click on self host fill my adress "that is the public adress of the server that is running" http://imgur.com/a/pfDpi
    and it doesnt matter what i run my scene or some of the demo scenes that are made from the photon company i will get the same thing http://imgur.com/a/KLD0H
    my firewall is down etc even if my laptop is connecte to the router it makes the same thing can someone help .

    note; wen i make it local for the application and i put local adress everything is fine but i need it to be public
    it doesnt have problem from photon cloud etc i need it to be self host and with public ip but it doesnt give me the right to be with public ip help.
     
  2. JohnTube

    JohnTube

    Joined:
    Sep 29, 2014
    Posts:
    66
    Hi @DrugSandwich,

    Thank you for choosing Photon!

    So you have a single machine where you run a Photon client from the Unity Editor and a Photon Server using Photon Control.
    If you try public IP address it does not work but if you try "make it local" it works.

    What do you mean by "make it local"? do you use loopback address (e.g. "localhost" or "127.0.0.1") or local network private IP address (e.g. "192.168.1.2")?
    Did you make sure the public IP address you are using is correct and is reachable? please try "ping" or "tracert" commands from cmd or powershell.
     
  3. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    Verify you have your port forwarding on your router set to properly forward traffic from the public Internet to your Photon Server.
     
    DrugSandwich likes this.