Command : netstat -a -b -v
- displays all ports which are in use.
- displays which applicatiosn use which ports
The following is the output of the command . test-pc is the name of the PC.
TCP test-pc:9090 test-pc:0 LISTENING 5628
[javaw.exe]
in the above output , 9090 is the port which is used by javaw.exe.
Some more outputs of the command.
TCP test-pc:523 test-pc:0 LISTENING 396
[db2dasrrm.exe]
TCP test-pc:912 test-pc:0 LISTENING 4044
D:\WINDOWS\system32\WS2_32.dll
E:\Program Files\VMware\VMware Workstation\vmware-authd.exe
D:\WINDOWS\system32\kernel32.dll
[vmware-authd.exe]
TCP test-pc:1998 test-pc:0 LISTENING 6904
[javaw.exe]
TCP test-pc:2000 test-pc:0 LISTENING 5628
[javaw.exe]
TCP test-pc:5900 test-pc:0 LISTENING 3524
[tvnserver.exe]
TCP test-pc:6789 test-pc:0 LISTENING 3180
[db2jds.exe]
TCP test-pc:9090 test-pc:0 LISTENING 5628
[javaw.exe]
TCP test-pc:9094 test-pc:0 LISTENING 5628
[javaw.exe]
TCP test-pc:9095 test-pc:0 LISTENING 5628
[javaw.exe]
TCP test-pc:9096 test-pc:0 LISTENING 5628
[javaw.exe]
TCP test-pc:12345 test-pc:0 LISTENING 2808
[tmlisten.exe]
TCP test-pc:db2c_DB2 test-pc:0 LISTENING 4904
[db2syscs.exe]
0 comments:
Post a Comment