![]() ![]()
Posey, MCSE, is a Microsoft Most Valuable Professional for his work with Windows 2000 Server and IIS. Therefore, if you don't see your target process listed, you may have to select the Task Manager's Show Processes From All Users checkbox.īrien M. Keep in mind, though, that Windows may run different processes under different user accounts. ![]() You should be able to use this technique to determine which port an application is using. At that point, you know which port number the application is trying to use, and can therefore open the necessary port in the firewall.įigure D: The PID column tells you which process ID has been assigned to the process. When identifying the ports for a given application as part of Windows XP firewall troubleshooting, work through the list until you find an IP address and port number that correspond to the PID that's assigned to the application. In Figure D, you can see that PID 4 is the system process. In Figure A, you can see that the PID assigned to this IP address and port number is 4. Earlier, I showed you a process that uses an IP address and port number of 147.100.100.200:139. From the Select Columns dialog box (shown in Figure C), select the PID checkbox, and click OK.įigure C: Select the PID checkbox, and then click OK.Īs shown in Figure D, the Windows Task Manager now lists the PID number. As shown in Figure B, this tab lists the various processes in use, but it does not list the corresponding PID numbers.įigure B: By default the Windows Task Manager lists processes but not process numbers.įix this problem by selecting the Select Columns command from the Task Manager's View menu. To do so, select CTRL ALT DELETE to open the Windows Task Manager, and then click the Processes tab. To determine which application uses the port, you must match the applications with their PID numbers. Even so, the last column lists the process ID (PID) of the application that's using the port. Looking at this output, you may notice that Netstat doesn't list any applications. This means that the application is using the IP address 147.100.100.200 and port 139. For example, the local address for one of the processes shown in Figure A is 147.100.100.200:139. Port numbers are separated from the IP address by a colon. In the output from the Netstat command, you can see IP addresses and port numbers shown in the Local Addresses column. #What is tcpview and netstat used for PcKeep in mind that the file's contents will be different on every PC and that in order for the file to be of any use, you must be running the application for which you need the port number while you run this command.įigure A: The Netstat command can be used to determine which firewall ports are in use. For example, the following command redirects the output to a file named C:\NETSTAT.TXT:įigure A, below, illustrates the command in action, as well as the contents of the NETSTAT.TXT file. You can accomplish this by appending a greater-than sign (>) and a file name to the end of the command. Therefore, for the purposes of Windows XP firewall troubleshooting, it's a good idea to redirect the output to a file. #What is tcpview and netstat used for how toLearn how to audit the Windows XP firewall.ĭepending on how many processes are running, the command's output can be too long to fit on a single screen. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |