Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Port number View, close

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Enter the command: netstat-ano in the command window of cmd to list all ports

Netstat-aon | find "135", enter and write down the last digit, that is, PID. This is 972.

Enter tasklist | find "972" and press enter to see which process or program occupies port 972. The result is: svchost.exe

End the process: taskkill / f / t / im svchost.exe

(you can also end the PID number directly: taskkill / pid 972 / f)

Test whether a port is open

Enter the command in the command window of cmd: start / min telnet 192.168.3.42 8080

After that, a window will appear, which is minimized. Wait a minute. If the window closes automatically, the port is closed or the host ping is disabled, otherwise the port is open.

Netstat-anp tcp can see which ports are open on the current host tcp.

Netstat-anp tcp80 can view the current host tcp80 port.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report