Local default port disabling method for Windows Server 2008 R2

Source: Internet
Author: User
Tags firewall

the default port disabling method for Win server 2008 R2.

The command "Netstat-an" allows you to know which port the system is currently listening on. On Windows Server 2008 systems, there are two ways to disable a local port: 1. Windows Firewall (simpler, easier to set). 2, through the IP Security policy (more complex, powerful, do not rely on firewalls). Small series The following is the first method, simple settings can be completed.

First, disable ports through Windows Firewall:

1, click the "Control Panel-windows Firewall" to ensure that Windows Firewall is enabled. Click "Advanced Settings" in the left column and the Windows Firewall Advanced Configuration window will be automatically ejected.

2, click on "Inbound Rules", and then click "New Rule ...", select the type of rule you want to create in the wizard window, choose "Port" here, click "Next".

3, next select the type of network you want to disable (TCP or UDP), in the "specific local port" write to the port you want to disable, such as "80", and then the next step. Select "Block Connection", next, apply the rule to see the situation change, can maintain the same, continue next, fill in the name "Disable 80 port", click Finish.

4, here should be completed, by default, the new rule will be directly enabled. If not, then right-click "Enable rule".

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.