Canyon Ports

Discuss everything related to Trackmania 2.

Moderator: English Moderator

Post Reply
njrk97
Posts: 4
Joined: 02 Jan 2014, 04:23

Canyon Ports

Post by njrk97 »

As the title says i simply want to know what the ports are for Trackmania 2:Canyon. I wanted to portfowards the game so i can make a server but i have no idea what the ports are.
User avatar
phil13hebert
Posts: 564
Joined: 29 Oct 2011, 14:11
Location: Québec

Re: Canyon Ports

Post by phil13hebert »

Default ports are : 2350, 3450 and 5000
Source : here
ManiaPlanet wiki wrote:<force_ip_address></force_ip_address>
<server_port>2350</server_port>
<server_p2p_port>3450</server_p2p_port>
<client_port>0</client_port>
<bind_ip_address></bind_ip_address>
<use_nat_upnp></use_nat_upnp>

<xmlrpc_port>5000</xmlrpc_port>
<xmlrpc_allowremote>True</xmlrpc_allowremote>
OS: Windows 7 64 bit
CPU: Intel Core i7 3770 @ 3.40Ghz
RAM: 8GB DDR3 798MHz
GPU: Nvidia GeForce GTX 660 1536MB
Motherboard: Intel 0KM92T
Sound: 7.1
Peripherals: Logitech G510, SteelSeries sensei raw, Corsair vengeance 1500
njrk97
Posts: 4
Joined: 02 Jan 2014, 04:23

Re: Canyon Ports

Post by njrk97 »

phil13hebert wrote:Default ports are : 2350, 3450 and 5000
Source : here
ManiaPlanet wiki wrote:<force_ip_address></force_ip_address>
<server_port>2350</server_port>
<server_p2p_port>3450</server_p2p_port>
<client_port>0</client_port>
<bind_ip_address></bind_ip_address>
<use_nat_upnp></use_nat_upnp>

<xmlrpc_port>5000</xmlrpc_port>
<xmlrpc_allowremote>True</xmlrpc_allowremote>
So i have allowed all 3 ports both inbound and outbound but my friends cant reach the server still, i checked with one of those things to check whether the port is accessible and it also says it is blocked.
User avatar
phil13hebert
Posts: 564
Joined: 29 Oct 2011, 14:11
Location: Québec

Re: Canyon Ports

Post by phil13hebert »

njrk97 wrote:So i have allowed all 3 ports both inbound and outbound but my friends cant reach the server still, i checked with one of those things to check whether the port is accessible and it also says it is blocked.
Did you allowed them in the firewall too ?
OS: Windows 7 64 bit
CPU: Intel Core i7 3770 @ 3.40Ghz
RAM: 8GB DDR3 798MHz
GPU: Nvidia GeForce GTX 660 1536MB
Motherboard: Intel 0KM92T
Sound: 7.1
Peripherals: Logitech G510, SteelSeries sensei raw, Corsair vengeance 1500
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Re: Canyon Ports

Post by reaby »

Hi njrk97,

If you are about to create a dedicated server, I recommend you to read the server documentation at here:
http://maniaplanet.github.io/documentat ... basic.html

The maniaplanet server and game by default uses the same ports, as you can use the game itself to create a server.
If you want your friend to be able to join the server created by the game itself, i recommend you to use hamachi or equilent, as maniaplanet will use your local address to connect, not the gateway address.

Other way is to use dedicated server, which phil13hebert was referring with the config files.

Good things to know is that if you start maniaplanet first, and then the dedicated server the dedicated server ports will be increased by one automatically.

So I would recommend you to shift the dedicated ports by one in default, that way you always get the right ports for dedicated and the game, and it doesn't matter of which order you start the processes.

Code: Select all

<server_port>2351</server_port>
<server_p2p_port>3451</server_p2p_port>
<xmlrpc_port>5001</xmlrpc_port>
For hosting you need to portforward 2351 and 3451 with UPD and TCP and allow them in and outbound from your windows firewall.

It's not recommended to forward the xmlrpc port (5001)! Since that is the remote console port.

The dedicated server tries to use your local address instead of the gateway address, so find your gateways external ip and edit it to here:

Code: Select all

<force_ip_address>100.200.300.400</force_ip_address>
and you should be good to go.

Resouces
Basic networking info and setting up portforward for a specific router: http://www.portforward.com/
Dedicated server help: http://maniaplanet.github.io/documentat ... ed-server/
njrk97
Posts: 4
Joined: 02 Jan 2014, 04:23

Re: Canyon Ports

Post by njrk97 »

phil13hebert wrote:
njrk97 wrote:So i have allowed all 3 ports both inbound and outbound but my friends cant reach the server still, i checked with one of those things to check whether the port is accessible and it also says it is blocked.
Did you allowed them in the firewall too ?
I did make the exceptions



reaby wrote:Hi njrk97,

The maniaplanet server and game by default uses the same ports, as you can use the game itself to create a server.
If you want your friend to be able to join the server created by the game itself, i recommend you to use hamachi or equilent, as maniaplanet will use your local address to connect, not the gateway address.
I want to use the game itself to create a server, i do have hamachi and are connected in a network to my friends, so then i ask. How would i make a hamachi trackmania 2 server cause that what i originally tried and it didn't work. Can you give me instructions on how to make one then?
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Canyon Ports

Post by TMarc »

Hamachi is only required if you want to run the separate dedicated server and the game on the same machine.
But you can also select different ports for the dedicated server and for the game.

If you want to use the game itself to create a server, then you don't need Hamachi.
The only thing you have to do is to allow the ports in your firewalls (Windows, and router/modem),
and eventually forward the ports to your PC if you want your friends to access your server from outside your local network.
njrk97
Posts: 4
Joined: 02 Jan 2014, 04:23

Re: Canyon Ports

Post by njrk97 »

TMarc wrote:Hamachi is only required if you want to run the separate dedicated server and the game on the same machine.
But you can also select different ports for the dedicated server and for the game.

If you want to use the game itself to create a server, then you don't need Hamachi.
The only thing you have to do is to allow the ports in your firewalls (Windows, and router/modem),
and eventually forward the ports to your PC if you want your friends to access your server from outside your local network.
I have all the port i need open (The three of them) and have the exception in both the router and window fire wall and it still doesnt work.
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Canyon Ports

Post by TMarc »

which antivirus software are you using? Some versions are blocking ManiaPlanet.

Before running ManiaPlanet, please open a cmd window and run the following command:
netstat -na
Ideally print this into a file, e.g.
netstat -na > netlog.txt
Then look for the ports you have configured in the game (default are 2350, 3450, both UDP and TCP).
Are they free (not listed)?

Then start ManiaPlanet, connect to your online account, and run the command again
netstat -na > netlogma.txt
Are the ports now listet there?
Post Reply

Return to “Trackmania 2”

Who is online

Users browsing this forum: No registered users and 1 guest