How to find TCP port number

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
Originally posted by: ncage
umm windows? IpConfig
Linux/bsd/etc... ifconfig
Umm... not really. ipconfig/ifconfig don't have anything to say about ports. Try netstat (both for Windows or *nix).

But what exactly are you trying to do, OP? TCP ports aren't really the first thing I think of when somebody says they have a connectivity problem.
 

slimrhcp

Senior member
Jul 20, 2005
532
0
0
Originally posted by: ncage
umm windows? IpConfig
Linux/bsd/etc... ifconfig

I'm running XP. I only see numbers for IP address, subnet mask, and default gateway. Are any of these the TCP number?
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,552
429
126
It is basically meaningless question, numerous amount of TCP ports are used all the time, some are application related some are chosen by the running processes.

If you want to see which TCP ports are used while you are working, or when the computer is idling?

Download and run this, http://www.microsoft.com/techn...utilities/TcpView.mspx

If you would explain what "I'm having trouble with connectivity" means in specific, may be someone can help you in a more focused way.
 

slimrhcp

Senior member
Jul 20, 2005
532
0
0
Originally posted by: JackMDS
It is basically meaningless question, numerous amount of TCP ports are used all the time, some are application related some are chosen by the running processes.

If you want to see which TCP ports are used while you are working, or when the computer is idling?

Download and run this, http://www.microsoft.com/techn...utilities/TcpView.mspx

If you would explain what "I'm having trouble with connectivity" means in specific, may be someone can help you in a more focused way.

I guess what I'm trying to do is open up a port and I'm on a router. Sorry, I probably come off as an idiot, I rarely deal with networking issues. Thanks for the help so far. :)
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
TCP ports vary from daemon to daemon so you need to figure out what port(s) your specific thing needs.