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

What are the two ways to disable the local port in Windows Server 2008

2025-02-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Today, I will talk to you about what are the two methods of disabling local ports in Windows Server 2008, which many people may not know. In order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.

Many ports of the Windows system are open by default. By closing some ports, the security of the Windows system can be improved to some extent, especially for the server. The port on which the system is currently listening can be known by the command "netstat-an". On the Windows server 2008 system, there are two ways to disable the local port: 1, through the Windows firewall (relatively simple, easy to set) 2, through the IP security policy (more complex, powerful, do not rely on the firewall) 1, disable the port through the Windows firewall: 1, click "Control Panel-Windows Firewall" to ensure that the Windows firewall is enabled. Click "Advanced Settings" in the left column and the system will automatically pop up the Windows Firewall Advanced configuration window. 2. Click "inbound Rule", and then click "New Rule …" Select the type of rule you want to create in the wizard window, select Port here, and click next. 3. Next, select the network type you want to disable (TCP or UDP), write the port you want to disable in the "specific local port", such as "80", and then next. Select "block connection", next, apply the rules depending on the situation to modify, can remain the same, continue to the next step, fill in the name "disable port 80", click finish. 4. This should be done. By default, the newly created rules will be enabled directly. If not, then right-click "enable rules". 2. Disable the port through IP security policy: 1. Click "Control Panel-Administrative tools" to open "Local Security Policy". Click "IP Security Policy, on the Local computer" in the left column, then right-click in the space on the right and select "create IP Security Policy". The IP Security Policy Wizard will pop up. 2. Click next, fill in the name "disable Port 80 Policy", and then next, do not change, continue to the next step, click finish. 3. The system pops up the Properties dialog box. Uncheck the lower right corner of "use the add Wizard", and then click "add", then pop-up "New Rule Properties" dialog box, click "add", and pop-up "IP filter list", fill in the name "disable Port 80", uncheck "use the add Wizard" on the page, and then click "add", which will pop up "IP filter Properties". 4. Enter the "filter Properties" dialog box, select "any IP address" for the source address and "my IP address" for the destination address. Next, click the "Agreement" tab, select "TCP" in "Select Protocol Type", fill in "80" to this port, then click the "description" tab, fill in the description "disable 80", and click "OK". 5. In the "New Rule Properties" dialog box, select "disable Port 80" and then click the check box on its left to indicate that it has been activated. Then click the filter actions tab, uncheck the use add Wizard, click the add button, on the Security methods tab of the New filter Action Properties, select Block, and then click OK. Then click the check box to the left of Block Action, and then click OK. 6. Finally, in the "New IP Security Policy Properties" dialog box, tick the left side of "disable Port 80 Policy" and press OK to close the dialog box. In the Local Security Policy window, right-click the newly added IP security policy, and then select assign. After reading the above, do you have any further understanding of the two ways to disable local ports in Windows Server 2008? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

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