Thanks again to ian and onie! Mabuhay!
> ---- Original Message ----- > From: "Jopoy C. Solano" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, July 20, 2002 4:32 AM > Subject: [plug] OT: kazaa port > > > hi! i just wanted to know if anyone knows what port does kazaa use > > Ian has the answers to your question. > > Just want to share a tip with you and to others: You can use > netstat to find the ports a service is using. > > this even applies to oses that implements standards tcpip > stack. > > in unices, you can try > # netstat -na|grep "ESTAB" > > in windows, you can try > C:\windoze>netstat -na|find "ESTAB" > > The above command is useful only if you have successfully > established connection to the remote service. The command will > give you tons of information about ESTABLISHED connection. > > Snipped example: > TCP 192.168.1.107:1082 216.136.224.214:5050 ESTABLISHED > TCP 192.168.1.107:1102 64.4.12.58:1863 ESTABLISHED > > This shows that my machine at 192.168.1.107 has established > connection to 216.136.224.214 on port 5050. I would suggest > running netstat -na prior to connecting to the kazaa server. > In this case, you will be able to compare the output of your > netstat -na prior and after to running kazaa. With this, you > can tell that the new ESTABLISHED connection belongs to this > service. > > This command is also useful if you can't connect to the remote > service. But you will have to change the parameter: > > command now would be: > # netstat -na |grep "SYN" > > Snipped example: I tried connecting to a remote machine with > a destination port 18827 TCP 192.168.1.107:1176 65.192.117.67:18227 > SYN_SENT > > With this parameter, you can troubleshoot connection problems. > > I would definitely also suggest using tcpdump, it's a must > tool for network administrators. > > To put it in a nutsheel, I also love reading /etc/services. > Visit this link once in a while too, http://www.iana.org/assignments/port- numbers > > > > > thanks in advance. > > You're welcome. > > Onie > > _ > Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph > To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] > > To subscribe to the Linux Newbies' List: send "subscribe" ----------------------- University of Baguio General Luna Road Baguio City Philippines 2600 Phone: +63 74 4423540 Fax: +63 74 4423071 http://www.ubaguio.edu _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
