Hello.
I'm behind a router, and want to host a game, except i don't know what port the game is trying to use, and so i can't forward the port through my router.
Is there any way I can find out what port is trying to be used?
Hello.
I'm behind a router, and want to host a game, except i don't know what port the game is trying to use, and so i can't forward the port through my router.
Is there any way I can find out what port is trying to be used?
Clear the mines from our Shazbot!
Get the enemy Shazbot!
Can't you force the game to run on a specific port which is predefined? Selecting a port at runtime may be a problem as it will keep changing every time you run the game. Accordingly you will have to change the access-lists on your router.
>>Can't you force the game to run on a specific port which is predefined?
Nope, that's the problem
In addition, if this helps, the game uses UDP/IP server to connect instead of TCP/IP host. I'm not hugely familiar with UDP/IP, but could this be related to not being able to select a specific port?
Clear the mines from our Shazbot!
Get the enemy Shazbot!
try going to the command prompt and running
netstat -a
then start the game and get it to the point where it's waiting for a connection then ALT+tab back to command prompt and run
netstat -a
again and see wich listening ports have been added.
or check the developers technical suport pages.
Also, Windows recently added the -b option to netstat. This will give the process name responsible for each connection or listening port.Originally Posted by Quantum1024
netstat -b -a
alright! worked great!
turns out the port was 2000 .
thanks guys.
Clear the mines from our Shazbot!
Get the enemy Shazbot!