Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
hi all,
was wondering how to tell what http port number is taken by a PID on a windows XP machine ?? from the task manager i can see the oracle process has a PID but i have no idea what http port number is being taken for it.
OS details:Windows XP professional Version:2002 SP2
thanks in advance.

Open a dos box and try this:
netstat -anbThis will show you the PID, the ports and the program, that is used for it.

thanks for the reply. the PID which shows up in the task manager is 3972 but after running the 'netstat -anb' comand in dos window i cant seem to find this PID listed. could it be that i dont have enough authority to run this netstat command ??

ok just tried the same command with admin access and still dont see the pid in the list ! anymore suggestions ??

Hi All,
First thing - when you start a cmd window (command prompt) it is with restricted buffer, so - for win xp 2007 sp2, and i suppose for the other win xp releases, it is with a "Screen buffer size" - width 80, height 300. If the netstat command has e.g. result of 450 lines, only the last 300 will be available to your screen, when scrolling up. So what you must do is first go to the taskbar, click with the left mouse button on the cmd task and select proprties. Form there you will have showed a window. Go to the Layout tab, make width and height of the " Window size" appropriate to you, by selecting the corresponding windows and go up/down with the arrow keys from the keyboard. After this go to the "Screen buffer size part" and make the width the same as for the "Window size" and the height 3000 lines. Don't worry, this won't slow down your computer. After this perss OK, save properties for future wnidows with the same title (from the pop-up that will appear after pressing OK), tpye cls (clear screen), press enter, type netstat -anb and look again. You sholud be able now to see for sure all ports assigned to the processes.
Hope I helped :)
At least you helped me. I've forgotten the netstat command. Good luck to any with such problems.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |