Port Question
-
- Posts: 4
- Joined: Fri Dec 28, 2007 7:02 pm
Port Question
How do you change the ports the game runs on? when i go into network settings, it tells me the ports, and when i change them and quit the game, the ports reset. I really need the ports on a higher port.
-
- Posts: 4
- Joined: Fri Dec 28, 2007 7:02 pm
If you're not running a server, it doesn't matter. Are you running a server?
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN
Be the devil's own, Lucifer's my name.
- Iron Maiden
Be the devil's own, Lucifer's my name.
- Iron Maiden
-
- Posts: 4
- Joined: Fri Dec 28, 2007 7:02 pm
To but it bluntly, he is most likely wrong
Any not totally broken router will keep incoming connections to your friend's server and outgoing connections from you to Armagetron servers separate without problem even if they use the same port and protocol type, which would be extremely odd. That's a router's job.

Furthermore, if you're not running a server and are only running the client, you get a random unused port from the OS every time you connect to some server somewhere else.
Web servers typically run on port 80. It's a little odd, but not entirely unusual, for a private webserver to be on a different port. It's very odd that he's saying there's interference, since even if he's in the port range for the server (~4000), the client gets a random port from the OS that's usually above 10,000.
Tell him to show logs or shut up.
Web servers typically run on port 80. It's a little odd, but not entirely unusual, for a private webserver to be on a different port. It's very odd that he's saying there's interference, since even if he's in the port range for the server (~4000), the client gets a random port from the OS that's usually above 10,000.
Tell him to show logs or shut up.

Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN
Be the devil's own, Lucifer's my name.
- Iron Maiden
Be the devil's own, Lucifer's my name.
- Iron Maiden
Not on Windows, where you get a random port starting at 1024 usually. That's still a long way away from the standard port 80 of a web server (and also of the "other" standard ports 8000/8080 a user run web server usually grabs), and I still don't see how a web server could possibly use UDP for anything, and it still is the router's job to work around collisions of this type (server on computer 1 listens on port x, client on computer 2 uses local port x to communicate with remote server) automatically. It's only a problem if computer 1 and 2 both want to run servers on port x.Lucifer wrote:the client gets a random port from the OS that's usually above 10,000.
What I can imagine what's happening here: your friend has blocked some ports or generally redirected them because he thinks he has to (he'd be most probably wrong about that), and this redirection/block interferes with Armagetron.
bmxrider, why don't you tell us a bit more about the actual problem you are having? As you can see, there is the consensus here that the solution attempt you have posted about goes into the wrong direction, whatever your problem truly is. So knowing the problem would really help.
- philippeqc
- Long Poster - Project Developer - Sage
- Posts: 1526
- Joined: Mon Jul 12, 2004 8:55 am
- Location: Stockholm
- Contact:
Lets think of ip addresses as the street addresses of an apartment building. Lets think of port as appartment numbers in that building. Lets further say that the building has 24 physical appartments. If you wanted to reach the janitor of a building, you'd send a letter to that building's address and to the appartment #1. You could put your own appartment number on the return address, and that would seem fine. Knowing it would be a long exchange of letters, and that at the same time you will most likely send other communication to other buildings talking to other apartments, if all that mail traffic came back addressed to your apartment, you would have quite some work trying to match each letters to a conversation, being forced to open each one, inspect what it talk about just to sort it. So instead, you could just give a different return apartment number for each conversation you initiate. Just pick an apartment number that is currently unused, some very large number, and you know that if a letter comes to that precise apartment number, it is part of the discussion you are having with the milk man about the steady decline in the offering of chocolated milk product, and that without even needing to open it and inspect the content of the letter.bmxrider0779 wrote:no im not running a server, but he said me connecting to an outside server would interfere with the main server, since the main server is in the port range of armagetron
On your recipient side, such as the janitor (apt. #1) and the milk man (apt. #3), they would also need to use that trick of using apartment number as a way to track letter exchanges rather than being forced to sort everything at reception. It is quite convenient to sent a letter to a know apartment number and get the right service person. But in their first answer, they can gently ask you to keep on replying to a different apt.
So you see, service benefit of having know apt number, to make them easy to reach. But client, such as you when talking to the janitor or the milk-man, have very little use to start YOUR END of any conversation on a known port, and using one that is already in use will just lead to problems.
Also, notice that I didn't say if you where or not the janitor or the milk man of your own building, or if such roles where done my Mrs Smith, you gentle pie-baking floor-neighborg, because originating apt number are not destination apt number.
That is the basis of the port/address mechanism in IP. There are many variations on it due to routers, private lan, NAT (network address translation, where many buildings share a common public address, and very few of them offer public services) and so on, but for that, we will need some _CLEAR_ and _EXACT_ details to help.
I hope this was of some use.
/ph
Canis meus id comedit.
- philippeqc
- Long Poster - Project Developer - Sage
- Posts: 1526
- Joined: Mon Jul 12, 2004 8:55 am
- Location: Stockholm
- Contact:
I gave a short description of a NAT in the previous message. As it is your set-up, I'll improve on it.
Basically, a NAT (network address translation) allows many computers on a private network to use few (often only 1) public addresses toward external networks. In your case, your NAT is a "service" in your wireless router.
The NAT is transparent to the outside world. Each packet passing through it have the source and destination port and addresses changed to match the network they are sent to. When you want to reach an external server, a packet from your computer is sent toward it, containing your own private address and the server's address. The NAT takes the packet, change the source address from your private one, which no one on the Internet knows how to reach, and put its public address, which everybody can reach, and an unused public port on that public address, and forward it. It takes notes of this translation, both port and addresses, and when an packet is sent back toward you, it will do the opposite translation, and you will receive the answer packet on your private address and on the port you sent it from.
What the public service saw of you (public address and port written by the NAT) is not what you originally wrote in the packet.
Where NAT offer a security is that the connections are made from the inside out. If a packet is received by the NAT on a port where it doesnt have any translation rules, then the NAT simply cant forward it and will discard it. Lets say it receive a request on the know http port (80), should it forward it to you, your friend or some other neighborg leiching the connection? Due to this, NAT offer a security as outside virus and trojan simply cant reach services that might be running on your computer. And let me tell you that the average computer is running quite a few services behind your back.
What your friend did is add some rules to the NAT, so that request on the know armagetronad server ports would be forwarded to HIS computer.
So, when you play AA, you send message TO some server's public port. The port that your client, or the public port the NAT uses are just the usual "very large unused values". On the NAT public side, the ports for armagetronad server are reserved by the rules your friend made, and any message received there are re-transmitted toward your friend's computer.
There are no conflicts.
Now feel free to go and tell your friend to actually read the little pamphlet that was included with the wireless router. I know it is a very challenging 12 pages, but I'm sure he can manage that. ;)
/ph
Basically, a NAT (network address translation) allows many computers on a private network to use few (often only 1) public addresses toward external networks. In your case, your NAT is a "service" in your wireless router.
The NAT is transparent to the outside world. Each packet passing through it have the source and destination port and addresses changed to match the network they are sent to. When you want to reach an external server, a packet from your computer is sent toward it, containing your own private address and the server's address. The NAT takes the packet, change the source address from your private one, which no one on the Internet knows how to reach, and put its public address, which everybody can reach, and an unused public port on that public address, and forward it. It takes notes of this translation, both port and addresses, and when an packet is sent back toward you, it will do the opposite translation, and you will receive the answer packet on your private address and on the port you sent it from.
What the public service saw of you (public address and port written by the NAT) is not what you originally wrote in the packet.
Where NAT offer a security is that the connections are made from the inside out. If a packet is received by the NAT on a port where it doesnt have any translation rules, then the NAT simply cant forward it and will discard it. Lets say it receive a request on the know http port (80), should it forward it to you, your friend or some other neighborg leiching the connection? Due to this, NAT offer a security as outside virus and trojan simply cant reach services that might be running on your computer. And let me tell you that the average computer is running quite a few services behind your back.
What your friend did is add some rules to the NAT, so that request on the know armagetronad server ports would be forwarded to HIS computer.
So, when you play AA, you send message TO some server's public port. The port that your client, or the public port the NAT uses are just the usual "very large unused values". On the NAT public side, the ports for armagetronad server are reserved by the rules your friend made, and any message received there are re-transmitted toward your friend's computer.
There are no conflicts.
Now feel free to go and tell your friend to actually read the little pamphlet that was included with the wireless router. I know it is a very challenging 12 pages, but I'm sure he can manage that. ;)
/ph
Canis meus id comedit.