Condividi tramite


Help: Edit or delete a port exception

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To edit or delete a port exception

  1. Open Windows Firewall.

  2. Click the Exceptions tab, and then click the port exception that you want to edit or delete.

    If you want to delete the port exception, click Delete, and then click OK.

    If you want to edit the port exception, click Edit, make changes to the port exception settings, and then click OK.

If you want to remove all your program and port exceptions, you can restore your firewall to the default settings. Restoring the default settings deletes all the Windows Firewall settings that you made since Windows was installed. This may cause some programs to stop working. For more information, see Help: Restore Windows Firewall default settings.

Notes

  • To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure.

  • To start Windows Firewall, click Start, point to Control Panel, and then click Windows Firewall.

  • You can also use the netsh command with the firewall context to perform this procedure and configure other Windows Firewall settings.

  • You can also use Group Policy settings to perform this procedure and configure other Windows Firewall settings.

  • You can configure Windows Firewall settings in the standard profile or the domain profile. The domain profile is used when a computer is connected to a network in which the computer's domain account resides. The standard profile is used when a computer is connected to a network in which the computer's domain account does not reside, such as a public network or the Internet. Make sure Windows Firewall is using the correct profile when you perform this procedure.

  • If a Windows Firewall setting appears dimmed in the graphical user interface, and on the General tab, you see For your security, some settings are controlled by Group Policy, the setting might be managed by Group Policy. If all Windows Firewall settings appear dimmed, and on the General tab, you see You must be a computer administrator to change these settings, you do not have administrative rights to configure Windows Firewall.

  • On Windows Server 2003, Windows Firewall is turned off by default and the Windows Firewall/Internet Connection Sharing service is disabled by default. You might have to start the Windows Firewall/Internet Connection Sharing service if you try to perform this procedure and you have never started Windows Firewall.

  • Windows Firewall is not included in the original release of the Windows Server 2003 operating systems.

  • Adding a port to the exceptions list can lessen the security of your computer because the port will be open any time the computer is running. You should add ports to the exceptions list only when it is not possible to add a program to the exceptions list.

  • You should configure scope options for any exceptions that you enable.

See Also

Concepts

Help: Understanding Windows Firewall exceptions
Help: Administering Windows Firewall with Netsh
Help: Administering Windows Firewall with Group Policy
Help: Determine which profile Windows Firewall is using
Help: Understanding Windows Firewall scope options