Please login or register.

Login with username, password and session length
Advanced search  

News:

Planet Explorers Released!

Pages: [1] 2

Author Topic: How to set up port-forwarding to host a public game server.  (Read 50619 times)

Calvin

  • Tech Honcho
  • Administrator
  • Enlistee
  • *****
  • Karma: 6
  • Posts: 5
    • View Profile

Note that the procedure here is only a guide for generic routers. The actual steps, user interface and menu texts can vary from one brand to another.
You may google for the port-forwarding setup guide more specific to your own router.
Some networking knowledge/experience definitely helps. e.g. finding your LAN IP of your computer and the public IP of your router.
1. Log in to your router's configuration page. Put '192.168.1.1'(in most cases) in your browser;
2. Type in the password;
3. Select 'Port-forwarding' in the advanced settings;
4. Create a new rule;
5. In 'External Port', put in the range '9900'-'9915';
6. In 'Internal Port', put in the range '9900'-'9915';

7. For 'Internal IP', put in the local intranet IP of your computer that you plan to use for hosting;
8. For 'Protocol', choose 'TCP/UDP';
9. For 'Description', type in 'Planet Explorers'(anything to identify this rule);
10. Hit 'Apply';

**** NEW STEP FOR ALPHA 0.7 ****
(Create a new rule)
11. In 'External Port', put in the range '8888'-'8903';
12. In 'Internal Port', put in the range '8888'-'8903';
13. For 'Internal IP', put in the local intranet IP of your computer that you plan to use for hosting;
14. For 'Protocol', choose 'TCP';
15. For 'Description', type in 'Planet Explorers'(anything to identify this rule);
16. Hit 'Apply';

17. Restart the router if necessary.
18. Add an exception in your firewall settings. If you don't know what this is, Google it.
19. If you are running a host server NOT from the game client, you also need to change the value in <PublicServer>false</PublicServer> to true in 'Game.xml' in 'HostServer_Data/ConfigFiles/'. Note that if you run the host server directly from the game client, you have to change it in the setting prompt instead.

Now, your friends should be able to join your server hosted behind your router.
If you don't know how to start the game server, or are having troubles with it, please refer to
http://board.pathea.net/index.php?topic=1535.0
« Last Edit: December 24, 2013, 06:07:15 PM by Calvin »
Logged

norab7

  • Global Moderator
  • Settler
  • *****
  • Karma: 29
  • Posts: 243
  • "The longer the description the more help it is"
    • View Profile
    • Pathea Games
Re: How to set up port-forwarding to host a public game server.
« Reply #1 on: July 18, 2013, 08:59:30 AM »

Potentially can be "192.168.0.1" as well.

if you are on Windows you can use the CMD.exe program to find out.

Win 7 (Don't know about the others anymore)

- "Windows Button" + "R"
This should open the "Run Dialog Box"

- Type "CMD" then hit enter

- A black box should appear that looks like the boot bios screen you get when you load up your computer

- In "CMD Window" type "ipconfig",

You should get multiple different values, just look through the values till you get to something that looks like either of the above.

E.g
192.168.1.1
192.168.0.1
ect ect.

Hope this helps too

EDIT:

« Last Edit: July 18, 2013, 09:02:16 AM by norab7 »
Logged
nora
"Apparently Humans have 5 fingers on one hand, not 4"
http://img402.imageshack.us/img402/1064/1514984641.jpg

snipercup

  • Enlistee
  • *
  • Karma: 2
  • Posts: 20
    • View Profile
Re: How to set up port-forwarding to host a public game server.
« Reply #2 on: August 07, 2013, 07:19:51 AM »

Please note that 'Game.xml' in 'HostServer_Data/ConfigFiles/' is not there if you have never run the server before.
Run Hostserver.exe once so Game.xml is created. Then close the server and change the value in <PublicServer>false</PublicServer> to true in 'Game.xml' in 'HostServer_Data/ConfigFiles/'
Logged

mmharris

  • Enlistee
  • *
  • Karma: 0
  • Posts: 8
    • View Profile
Re: How to set up port-forwarding to host a public game server.
« Reply #3 on: March 14, 2014, 03:18:20 PM »

Me and my friend have been trying to play online multiplayer but are both getting connection failed and we fallowed your top post but we still cant join eachothers game.

I can join other peoples game but not my friends game when he host it. and same for him when i host it.

did i set it up right and thats not why its working.

or what..

thanks
Logged

SaintMerc

  • Colonist
  • **
  • Karma: 10
  • Posts: 86
    • View Profile
Re: How to set up port-forwarding to host a public game server.
« Reply #4 on: March 17, 2014, 02:20:56 AM »

Me and my friend have been trying to play online multiplayer but are both getting connection failed and we fallowed your top post but we still cant join eachothers game.

I can join other peoples game but not my friends game when he host it. and same for him when i host it.

did i set it up right and thats not why its working.

or what..

thanks

Do you have a firewall running I.E Norton or so on. ?
Or do you just have windows firewall.
Logged

DJToxica

  • Colonist
  • **
  • Karma: 1
  • Posts: 59
    • View Profile
Re: How to set up port-forwarding to host a public game server.
« Reply #5 on: March 17, 2014, 07:40:31 AM »

In the manual, ports 8800-8815 are missing...my friend couldn't join the game after i uploaded a VTOL so i think those ports are for ISO Uploading and stuff...
Logged

mmharris

  • Enlistee
  • *
  • Karma: 0
  • Posts: 8
    • View Profile
Re: How to set up port-forwarding to host a public game server.
« Reply #6 on: March 17, 2014, 02:36:09 PM »

I deleted IE Norton. I dont like norton. I have normal firewall for windows 8. I disabled it. both me and my friend. still getting CONNECTION FAILED try to join his game and same for him when he trys to join my game.

IM stock and not to sure what to do. any help would be vary grateful.

Thanks
Logged

Vowels

  • Enlistee
  • *
  • Karma: 0
  • Posts: 4
    • View Profile
Re: How to set up port-forwarding to host a public game server.
« Reply #7 on: March 20, 2014, 10:58:51 PM »

Is there any difference in port forwarding when both the server PC and the client PC are on the same router?  I can't get ISO exporting to work and was wondering if I had missed something port-related.  As far as I know, I have all the official ranges forwarded properly to the server PC.  Is that correct?
Logged

DJToxica

  • Colonist
  • **
  • Karma: 1
  • Posts: 59
    • View Profile
Re: How to set up port-forwarding to host a public game server.
« Reply #8 on: March 21, 2014, 07:44:34 AM »

Ports 8800-8815 are missing in the description.
Add them to your configuration and you should be fine.
Only the host needs to forward the ports.
Logged

Vowels

  • Enlistee
  • *
  • Karma: 0
  • Posts: 4
    • View Profile
Re: How to set up port-forwarding to host a public game server.
« Reply #9 on: March 22, 2014, 02:21:46 AM »

Yep, yep.  Someone in the Steam discussion thread on this topic noted the same thing.  Ty though, and yes, it works!  :)

Ports 8800-8815 are missing in the description.
Add them to your configuration and you should be fine.
Only the host needs to forward the ports.
Logged

Mant

  • Enlistee
  • *
  • Karma: 0
  • Posts: 1
    • View Profile
Logged

Arnogh

  • Enlistee
  • *
  • Karma: 0
  • Posts: 35
    • View Profile
Re: How to set up port-forwarding to host a public game server.
« Reply #11 on: March 29, 2014, 06:51:27 AM »

Do we still need to forward 9xxx range of ports or just 8xxx range?
Logged

tanseikami

  • Enlistee
  • *
  • Karma: 0
  • Posts: 1
    • View Profile
Re: How to set up port-forwarding to host a public game server.
« Reply #12 on: April 21, 2014, 10:25:10 PM »

how to i portfoward if my router dont have external or internal port options (mine only shows start port and end port)
Logged

Stalkarn

  • Enlistee
  • *
  • Karma: 2
  • Posts: 11
    • View Profile
Re: How to set up port-forwarding to host a public game server.
« Reply #13 on: June 22, 2014, 01:47:29 PM »

I'm trying to host a public game on my PC. My friends can join the server but I can't. Any ideas? I have the server on the same PC as I play on.
Logged

Zalanore

  • Enlistee
  • *
  • Karma: 0
  • Posts: 2
    • View Profile
Re: How to set up port-forwarding to host a public game server.
« Reply #14 on: February 12, 2015, 03:55:24 AM »

This guide appears to be severely out of date.
Logged
Pages: [1] 2