Thread: Ports
View Single Post
  #2  
Old 08-27-2005, 10:02 PM
MarkGritter MarkGritter is offline
Senior Member
 
Join Date: Jan 2005
Location: Eagan, MN
Posts: 244
Default 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.)
Reply With Quote