Check the port status of Win7 System
In the past I used to use 360 and QQ in my system.
I think 360 is really helpful that It support GUI interface for all the useful daily system commands.
But the short-coming is that I nearlly forget all the comands in my momery.
Today I met a problem that my port 80 is used by some programme, but I want to make it free for apache http server.
Without 360, I have to type the command in command console in WIN7
>netstat -aon | findstr "80"
C:\Users\dell>netstat -aon | findstr "80"
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 3360
TCP 192.168.1.149:49160 203.88.193.231:80 CLOSE_WAIT 2760
TCP 192.168.1.149:49187 64.233.183.17:80 ESTABLISHED 3416
TCP 192.168.1.149:49192 64.233.183.17:80 ESTABLISHED 3416
TCP 192.168.1.149:49418 61.135.218.38:80 CLOSE_WAIT 808
TCP 192.168.1.149:49419 61.135.218.32:80 CLOSE_WAIT 808
TCP 192.168.1.149:49420 61.135.218.38:80 CLOSE_WAIT 808
TCP 192.168.1.149:49421 61.135.218.32:80 CLOSE_WAIT 808
Yes, it is used by PID 3360, but what is 3360 for?
>tasklist | findstr "3360"
C:\Users\dell>tasklist | findstr "3360"
Skype.exe 3360 Console 1 107,900 K
Now, it is very clear that the port 80 is used by skype. So I change the skype settings.
I think the commands are useful, I should remember them.
Check the port status of Win7 System
猜你喜欢
转载自sillycat.iteye.com/blog/805493
今日推荐
周排行