2. Use netstat -nao to view all occupied ports.
3. There is a list of pid in the displayed list.
4. Select Show pid in the display column of Task Manager.
5. You can know what process is occupied by each port through pid.
Question 2: How to check whether the port has a command line: netstat -a a.
Listening is the active port.
NETSTAT[-a][-b][-e][-f][-n][-o][-p proto][-r][-s][-t][interval]
-a shows all connections and listening ports.
-b Displays the executable files involved in creating each connection or listening port.
In some cases, it is known that executable programs carry multiple independent programs.
Component, which in these cases shows what is involved in creating a connection or listening port.
Component sequences of and. In this case, the name of the executable program.
At the bottom [], the component it calls is at the top until it reaches.
To TCP/IP. Please note that this option may be time consuming and will not be available until you do the following.
It may fail when you have enough rights.
-e Displays Ethernet statistics. This option can be used in combination with the -s option.
-f Displays the fully qualified domain name (FQDN) of the external address.
-n Displays the address and port number as numbers.
-o Displays the owned process ID associated with each connection.
-p proto shows the connection of the protocol specified by proto; Proto can be any of the following
Which: TCP, UDP, TCPv6 or UDPv6. If you choose to use -s
Items are used together to display statistics of each protocol, and proto can be any of the following.
Which one: IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP.
Or UDPv6.
-r displays the routing table.
-s displays statistics for each protocol. By default, displays the
IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP and UDPv6.
Statistics; The p option can be used to specify the default subnet.
-t shows the current connection unloading status.
Question 3: 1 How to check whether the computer's ports are open? Start-Run-Enter: cmd Enter, open the command prompt window, and enter: netstat -an to see all the ports that the computer is using now and the IP address and connection port of the remote computer. 2. Use 360 security guards. Similarly, open the Advanced Tools tab of 360 Security Guard and click Network Connection Viewer.
Question 4: How to check whether the port of win7 is open 1 and check all the port processes of windows?
First, click the Start menu to select Run, then enter "cmd" in the Run dialog box, press enter to open the command prompt window, and then enter netstat -ano in the window, and press enter to display all the port occupancy.
2. If you want to query the occupation of the specified port, you can continue to enter the port prompted by netstat -aon|findstr in the window. If the port indicated here is assumed to be 80, enter the command netstat -aon|findstr 80, and then you can see the PID in the list, and then check the corresponding occupation program in the task manager of the computer according to the PID, and then close it.
3. Then find the corresponding process according to the PID of the query. We can see the process ID of this program ID:5264. Continue to enter the command tasklist|findstr 5264, and 5264 is the process ID. Now that we know which process is occupied, we can take corresponding measures to solve it.
Question 5: How to check whether the port is open? Windows provides netstat command, which can display the current TCP/IP network connection. Note: The netstat command can only be used if the TCP/IP protocol is installed.
Operation method: Click "Start → Programs → Accessories → Command Prompt", enter the DOS window, and enter the command netstat -na, which will display the connection status and open port of this machine, as shown in figure 1. The local address indicates the local IP address and the opened port number (port 135 is open in the figure), the foreign address indicates the IP address and port number of the remote computer, the status indicates the current TCP connection status, and the monitoring in the figure is listening state, indicating that the local computer is opening the port monitor of 135, waiting for the connection of the remote computer.
If you enter the netstat -nab command in the DOS window, it will also show which programs created each connection. In the above picture, this machine is located in the 135 port monitor, which was created by the svchost.exe program. This program calls four components (RPCRT4.dll, RPCRT4.dll, svchost.exe, KvWPXP _ 1. DLL) to complete the creation. If you find that this machine has opened a suspicious port, you can use this command to see which components it has called, and then check the creation time and modification time of each component. If you find anything unusual, you may have been hit by a Trojan horse.
Similar to the netstat command, port monitoring software can also check which ports are open on this computer. There are many such softwares, such as Tcpview, port reporter, green eagle PC general wizard, network port viewer and so on. If you start this kind of software when surfing the Internet, you can closely monitor the port connection of this computer to prevent illegal connection and ensure your network security.
Question 6: How to check whether the port is up?
Win +R key opens the run dialog box.
Enter "cmd" to open the command prompt window.
Enter "netstat -a -n" and press Enter.
The command prompt window lists the current port number and its status.
five
The 4000 in it is the port where QQ runs.
Question 7: How to check whether a port of the other party is open 1 and Baidu webmaster tool? Click Open.
2. Then click Other Tools in the navigation and select Port Scan.
3. Enter the IP address or Sichuan name, and click "Query".
Question 8: How to test your computer port, or whether an IP port is open? Use the telnet command, or download the special software for telnet IP port from the Internet.
Question 9: How to check whether the computer port is open? You can use the netstat command that comes with Windows.
Regarding the netstat command, let's take a look at the introduction in the windows Help file:
Netstat
Displays protocol statistics and current TCP/IP network connections. This command can only be used after the TCP/IP protocol is installed.
Netstat [-a] [-e] [-n] [-s] [-p protocol ][-r][ interval]
parameter
[Ancient names or Latin modern names of animals and plants]
Show all connections and listening ports. Server connections are not usually displayed.
-e
Displays Ethernet statistics. This parameter can be used in combination with the -s option.
Tong -EN
Displays the address and port number in numeric format (instead of trying to find the name).
Constitute noun plural
Displays statistics for each protocol. By default, statistics of TCP, UDP, ICMP and IP are displayed. The p option can be used to specify the default subset.
-p protocol
Displays the connection of the protocol specified by the protocol; The protocol can be tcp or udp. If used with the -s option to display statistics for each protocol, the protocol can be tcp, udp, icmp or ip.
-r
Displays the contents of the routing table.
space
Redisplay the selected statistics, with a pause of seconds between each display. Press CTRL+B to stop redisplaying statistics. If this parameter is omitted, netstat will print the current configuration information once.
Well, after reading these help files, we should understand how to use the netstat command. Now, let's learn to use it and use this command to view the open ports of our machine. Enter the command line and use the two parameters a and n of the netstat command:
c:\ & gt; Network statistical database
flexible connection
Original local address external address status
TCP 0.0.0.0:80 0.0.0.0:0 Monitoring
TCP 0.0.0.0:2 1 0.0.0.0:0 Monitoring
TCP 0.0.0.0:7626 0.0.0.0:0 Listening
UDP 0.0.0.0:445 0.0.0.0:0
UDP 0.0.0.0: 1046
UDP 0.0.0.0: 1047