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

Methods for windows to view services through ports and disable services

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

Share

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

1. Open the command prompt window and enter netstat -ano to view the port and PID number. For example, in the example, we want to find out which service port 21 belongs to.

From the figure, we can see that the PID number of port 21 is 1252.

If the port information is too much, we can use the find parameter to filter

2. Open the Task Manager and view the corresponding PID number and process.

Open the Task Manager and switch to the Process window, as shown in the figure below:

In the window, if there is no PID column, add it in View, as shown in the figure:

Now you can see the PID column, as shown in the figure:

Find the process with PID 1252, as shown in the figure:

3. Find the corresponding process service in the system "Service". If the service is not needed, disable it. As shown in the figure:

Service disabled, check port again.

Port 21 no longer exists, and the corresponding port vulnerability does not exist.

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