In order to increase our testing for server code and prevent long time blockers and sudden server dropping. We will use no-ip service to enable setting up a static address for the devs local server to be used / connected to remotely/publicly.

  1. To do that you will need to register for the no-ip service (it’s free) and create a hostname using their free dynamic DNS service. (use the default settings [record type: A.. etc.])
  2. you will also need to download and link their dynamic update client from here

After setting up no-ip you need to setup your router and pc to allow external connections. and allow those specific ports on both.

Photon used ports are:

TCP: 843, 943, 4530, 9090

UDP: 5055, 54052, 5050

Note: It seems that only 5050 is now in use (Both UDP & TCP). The others may not be needed any more.

  • on the router:
  1. You need to assign to your pc or device that will run the server a static local ip, this should be under DHCP binding.
  2. Next up you will need to port forward connections to your device ip, there should be a port forwarding section depends on the router model but usually it should be under NAT or Firewall option in the router settings page. Make sure to forward both TCP & UDP. You only need to forward ports 5055.
  • On PC/device:
  1. you need to allow the ports in the firewall, also make sure if you have any antivirus to allow the the photon executable as well as its connection.

Lastly you will need to update photon.config xml file located in “Server\Photon\Server\deploy\bin_Win64\PhotonServer.config.xml”,
change all the ‘0.0.0.0’ ips to the local ip you have set to your device on the router.

The server should now allow external connections, but notice that you won’t be able to use your external ip address to connect to it you will have to use the local ip address + the port number.

Also using the local option won’t work but you will connect using the local ip anyway

When letting other devs connect to your server give them your hostname created using noip + the ballistic port configured in photon by default it should be  5055.

If you are deploying without the bootstrapper then you need to set the server ID in the registry key: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Forgotten Mines\GameServer

Comments

comments

Published
Views 66
War to the Core

Recent Comments

Latest Updates

  • Solo missions

    Solo missions

    Hey guys, here are the specifics of the first two solo missions, those are sketches of the first two missions. First mission: A harvester is placed near the ship, generating supply caches. The player collects energy caches and escapes a ring of mines. No supply links allowed. The sensor component is introduced by one of […]Read More »
  • We made it to the Top 100!

    We made it to the Top 100!

    We are stoked that we managed to land on IndieDB’s Indie of the Year’s Top 100 list! We are also the only MOBA that made it to the list! The support we got from the community was overwhelming, and we would like to thank each and every person that helped us get this far. Whether […]Read More »
  • Full Campaign Series, Version 3

    Full Campaign Series, Version 3

    Characters: Daniel Blaze. Protagonist, player-character. Headstrong and rebellious. Ambiguous loyalty to the Shepherd Coalition. Joseph Blaze. Father of Daniel Blaze. Commander of the Leviathan mothership until executed for treason by the Shepherd Coalition. Sylvia. AI assistant. Provides intel, advice, mission objectives. Captain Zhukov. Cyborg commander assigned to hunt down player during the first several missions. […]Read More »
  • Story: Episode 1, Version 2

    Story: Episode 1, Version 2

    The Blaze family had long been controversial. They supported the Shepherds, but continually frustrated the Orthodox elements of their faction. Joseph Blaze was especially known for his tolerance of the weakling families that used genetic engineering to alleviate the sicknesses that exposure to the Earth’s surface had inflicted on them. Such tensions between orthodoxy and […]Read More »
  • Story: Episode 1

    Story: Episode 1

    Location: The Pole Base. When Daniel Blaze passed his final test and became the primary candidate to pilot the Leviathan, the Shepherds’ newest ship, he caused a quite a stir. Not because he’s the youngest member of the Pole fleet to be nominated for admiralship, the faction had already made peace with this as a […]Read More »
Skip to toolbar