Two Plus Two Older Archives

Two Plus Two Older Archives (http://archives2.twoplustwo.com/index.php)
-   Computer Technical Help (http://archives2.twoplustwo.com/forumdisplay.php?f=46)
-   -   Ports (http://archives2.twoplustwo.com/showthread.php?t=324189)

Doc7 08-27-2005 09:15 PM

Ports
 
Figure this is as good a place as any to ask:

How do I determine which ports a program (eg: Pokerstars) is using to attempt to connect to the server? My college firewall just banned it, and I am going to put in a personal port request but need to know the necessary ports first.

MarkGritter 08-27-2005 10:02 PM

Re: Ports
 
[ QUOTE ]
Figure this is as good a place as any to ask:

How do I determine which ports a program (eg: Pokerstars) is using to attempt to connect to the server? My college firewall just banned it, and I am going to put in a personal port request but need to know the necessary ports first.

[/ QUOTE ]

Actually "Computer Technical" would be better.

Use the "netstat" program at the command prompt, like this:

<font class="small">Code:</font><hr /><pre>
C:\Documents and Settings\Mark Gritter&gt;netstat -p tcp -n

Active Connections

Proto Local Address Foreign Address State
TCP poker:1417 66.212.235.123:26002 ESTABLISHED

</pre><hr />

If you leave off the '-n' it will try to resolve the addresses and ports to hostnames. Not sure if this works for connections that can't be established, but the above is what it shows me for Stars.

Stars might or might not use other ports as well (for example, tables might use a different connection.)


All times are GMT -4. The time now is 04:47 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.