Query whether the port is occupied, which process is occupied by two ways:
1, netstat -anl |
Grep "80" ;2, lsof -i:80 When we use netstat -apn to view the network connection, we will find many things like the following: Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 52 218.104.81.152:7710 211.100.39.250:29488 ESTABLISHED 6111/1 The following article mainly uses the 80 port number as an example. If you want to know other port numbers, you can also use this method............ .............. 1, how to view the 80 port occupancy situation under windows? Is it occupied by which process? How to terminate, etc. Here mainly use the DOS tool under Windows, click " Start "--"Run", enter "cmd" and click the OK button to enter the DOS window, then run the following commands separately: >netstat -aon |
Findstr "80" Proto Local Address Foreign Address State PID ==== =========================================== == ====== TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 1688 It can be seen that port 80 is occupied by the program with process number 1688. >tasklist |
Findstr "1688" Image Name PID Session Name Session # Memory Usage ====================================== ================================ Inetinfo.exe 1688 Console 0 2,800 K
We often use Photoshop or other software to advertise and render images. At this time, we need to ad
Now that netbooks are becoming more and more popular, but netbooks are not CD-ROM, how to install th
When we use a computer, the page often pops up ads, which makes people feel annoyed. What should I d
Using windows system friends in addition to the own screenshot function and use qq many screenshot m
Comprehensive analysis of RUNDLL32.EXE file
How to solve the problem that the computer desktop network icon shows that the cable is pulled out?
U disk installed system can not start, what is the problem?
How does the computer set a password for the folder?
How to increase the C disk space
Repair Ubuntu boot partition after reinstalling XP
How to get font installation and uninstallation under Windows system
New measures to protect network security: turn off unnecessary ports
How to solve wireless IP conflicts
How to solve the problem that the target volume cannot be locked when installing the system?
How to quickly switch the video output of Win7?
Win8 modify the background color to mung bean color
Microsoft Threshold plans or bring back the start menu for Win8.1
The example of the su command in Linux explains
How to disable Windows 8.1 to automatically update to Windows 10
Windows7 system to modify the current location of the map tutorial
Due to payment failure, Microsoft Win10 Part of Surface Book was cancelled
Cleverly solve the problem of insufficient memory under win7 system