|
Melly
|
 |
« on: January 17, 2011, 02:11:49 PM » |
|
This is a thread for those that will get in the nitty gritty of online connections and will require/work with port forwarding for their games. In here you can discuss which ports you think should be used and such.
|
|
|
|
|
Logged
|
|
|
|
|
Riley Adams
|
 |
« Reply #1 on: January 17, 2011, 02:19:43 PM » |
|
Well, I don't have a preference as to what actual numbers, but maybe just pick a range of like 5-10 (+/-?) ports for people to forward and call it good?
Also, maybe sticky a tutorial on how to do port forwarding on a few common routers?
|
|
|
|
|
Logged
|
|
|
|
|
Nugsy
|
 |
« Reply #2 on: January 17, 2011, 02:47:09 PM » |
|
Information about port forwarding on almost every router can be found here.
|
|
|
|
|
Logged
|
|
|
|
|
Pirate Hearts
|
 |
« Reply #3 on: January 17, 2011, 02:59:07 PM » |
|
How about Port 12222? It's easy to remember and it's unassigned by the IANA.
|
|
|
|
|
Logged
|
|
|
|
|
mcc
|
 |
« Reply #4 on: January 17, 2011, 03:03:44 PM » |
|
Wouldn't every game in the competition using the same port create problems if some kind soul winds up hosting servers for 3 games at once?
|
|
|
|
|
Logged
|
|
|
|
|
Lon
|
 |
« Reply #5 on: January 17, 2011, 03:45:47 PM » |
|
I'm thinking the ports should be configurable and default to some standard Versus Compo port. I'm cool with Kyle's recommendation of port 12222. Though it may be difficult to tell how many twos are there.
|
|
|
|
|
Logged
|
“We all sorely complain of the shortness of time, and yet have much more than we know what to do with. Our lives are either spent in doing nothing at all, or in doing nothing to the purpose, or in doing nothing that we ought to do..." -Seneca
|
|
|
Ivan
Owl Country
Level 10
alright, let's see what we can see
|
 |
« Reply #6 on: January 17, 2011, 03:52:42 PM » |
|
There is a way to host a server without port forwarding that uses a mediator master server. I'm a little bit hazy on how this works, but a lot of commercial games do that (e.g. you never have to open up ports for Source games or console games for that matter)
|
|
|
|
|
Logged
|
|
|
|
|
|
Ivan
Owl Country
Level 10
alright, let's see what we can see
|
 |
« Reply #8 on: January 17, 2011, 04:04:27 PM » |
|
Yep! That's what it was. I remember looking into it when I was building a network game awhile ago, but could find almost no information at all. I think that RakNet page is actually what i read at the time.
|
|
|
|
|
Logged
|
|
|
|
|
Pirate Hearts
|
 |
« Reply #9 on: January 17, 2011, 04:20:11 PM » |
|
Yeah, the only problem with NAT hole-punching is that you need a server with a publicly accessible IP that both clients can connect to which will manage the connection between the two clients. And that makes homebrew solutions difficult.
|
|
|
|
|
Logged
|
|
|
|
|
mcc
|
 |
« Reply #10 on: January 17, 2011, 04:21:33 PM » |
|
Yeah, the only problem with NAT hole-punching is that you need a server with a publicly accessible IP that both clients can connect to which will manage the connection between the two clients. And that makes homebrew solutions difficult.
Well, it's definitely easier to host a central holepunch "introducer" server than it is to host a central game server.
|
|
|
|
|
Logged
|
|
|
|
Zachary Lewis
Level 1
Professional by day, indie by night.
|
 |
« Reply #11 on: January 17, 2011, 07:32:32 PM » |
|
Port 6969. 
|
|
|
|
|
Logged
|
|
|
|
|
Carrie Nation
|
 |
« Reply #12 on: January 17, 2011, 08:40:49 PM » |
|
I'm thinking the ports should be configurable and default to some standard Versus Compo port. I'm cool with Kyle's recommendation of port 12222. Though it may be difficult to tell how many twos are there.
There are 4 of them. I had to do some counting but I'm sure that's not a skill that only I have.
|
|
|
|
|
Logged
|
|
|
|
Benjaminsen
Level 0
Games games games.... oh! And games!
|
 |
« Reply #13 on: January 18, 2011, 09:28:50 AM » |
|
Port 443, this is the port that gives people the highest chance of being able to connect to your game.
|
|
|
|
|
Logged
|
|
|
|
|
mjau
|
 |
« Reply #14 on: January 18, 2011, 01:18:36 PM » |
|
Port 443, this is the port that gives people the highest chance of being able to connect to your game. Ports below 1024 generally aren't available for regular programs (need root/admin privileges)
|
|
|
|
|
Logged
|
|
|
|
|