You can either use netstat -nao (which is with XP) or use fport which will give you a listing of ports with PID numbers, to extend on that you can do a tasklist /svc to show a list of services mapped to each PID.
dk. ----- Original Message ----- From: "Chew Yean Tai - FOS" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2002 8:26 PM Subject: Re: Kerio Personal Firewall > You can try Active Ports at http://www.protect-me.com/freeware.html which > tells you what service is using which port. The best thing is, it's free. > > YT > ----- Original Message ----- > From: "Chee%2dHeng Chin" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, November 19, 2002 2:41 AM > Subject: Kerio Personal Firewall > > > Hello list, > I am trying to configure Kerio Personal Firewall and this > firewall > allows me to specify explicitly which service is allowed inbound/outbound > connection thru either TCP/UDP including the exact port numbers and IP range > to > respond to. > > My question is: Is there a software/utility that will tell me exactly which > service/application is currently listening on exactly which TCP/UDP port > number? > > "netstat -a" only lists the active listening ports but doesnt tell me which > service/application is listening on that port for incoming packets. > > I would like to "lock down" the server as much as possible by specifying > exactly which port and service a connection is allowed. Thanks in advance. > > Regards, > > chchin >