| Linux - Games This forum is for all discussion relating to gaming in Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-15-2006, 07:01 PM
|
#1
|
|
Member
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Rep:
|
How do you know what ports to use in a game?
I was reading around portforwarding.com and a in the readme/walkthrough it said that game servers (or any type of server for that matter) require certain ports. Where on earth do you find that information? Whenever I tried to set up a server along with setting up ports, I never found that information in any readme or tutorial online for that game (except just recently when I found portforwarding.com). And the only time I got information such as that was Steam server setups, but it never went into any detail on how they aquired the ports, just that it was the right ports. On port forwarding for certain games are, I would like to know how portforwarding.com aquired those 'right' ports in the first place?
|
|
|
|
08-15-2006, 07:06 PM
|
#2
|
|
Member
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700
Rep:
|
Well, there are several ways of doing this.
First of all you can just run the server, and see what ports are being used by firing up WireShark and taking a look at the packets.
Secondly, you can look at tutorials on the internet - I know for a fact that there are plenty of Steam server tutorials which state what ports are used. If you search my website for "CS:Source," you'll find my own tutorial - the port list is on there too
HTH,
-jk
|
|
|
|
08-16-2006, 12:48 AM
|
#3
|
|
Member
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Original Poster
Rep:
|
O no, I never said that there wasn't a Steam tutorial that didn't tell you what ports to use. I just never found that told you how you find out. Thank you I'll look into WireShark.
|
|
|
|
08-20-2006, 11:03 PM
|
#4
|
|
Member
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Original Poster
Rep:
|
I started up MOHAA dedicated server and I saw this line... is this the port number I was looking for or no?
Opening IP socket: localhost:12203
|
|
|
|
08-21-2006, 08:29 AM
|
#5
|
|
Member
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700
Rep:
|
Yes, that is the port number you were looking for: 12203

|
|
|
|
08-21-2006, 11:41 AM
|
#6
|
|
Member
Registered: Aug 2006
Distribution: FC, Mandriva, Suse
Posts: 52
Rep:
|
I know BF2 (Battlefield 2) displays it's port whenever you search for games in MP or even SP. When you start an SP game, your IP and port are displayed. Very handy for your LAN, since other people can simply plug into the same switch and use their game to connect to each other. I think you can do co-op and MP with that easily, not to mention playing in a huge LAN...
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:55 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|