Pelco Developer Network (PDN)

Configuring the Windows Firewall for Pelco SDK Components

After installing the Pelco SDK, you should configure the Windows Firewall settings to allow PelcoAPIViewer and Export to run.

To Configure the Firewall for Windows XP

The following procedure configures the firewall for Windows XP. You should also be able to use this procedure to configure the Windows Server 2003 firewall.

  1. Click Start and choose Control Panel (or Start → Settings → Control Panel).
  2. In the Control Panel, click Windows Firewall. (This may be available in the Network and Internet category.)
  3. On the General tab, verify that "Don't allow exceptions" is not selected.
  4. On the Exceptions tab, verify that "Display a notification when Windows Firewall blocks a program" is selected.
  5. Also on the Exceptions tab, review the list of programs and services for any that you recognize as Pelco programs or programs that use the Pelco API. For any of these programs that you find listed, verify that  the check box next to the program's name is selected.
  6. Click on the program to select it, and click the Edit button below the list.
  7. Click Change Scope and verify that "Any computer (including those on the Internet)" is selected.
  8. Click OK, and OK again.
  9. Click OK to exit the Windows Firewall dialog box.
  10. Try running one of your Pelco or Pelco API programs. If a dialog box displays a message that Windows Firewall has blocked this program, click Unblock. You may need to exit and restart the program. It should now work correctly.
  11. If the same Windows Firewall dialog box appears later for a program that should be able to access the network, click Unblock and restart the program.

To Configure the Firewall for Windows Server 2008 R2

The following procedure configures the firewall for Windows Server 2008 R2. You should also be able to use this procedure to configure the Windows Vista, Windows 7, and Windows Server 2008 firewalls.

  1. Click Start and choose Control Panel.
  2. In the Control Panel, click Administrative Tools. (This may be listed as System and Security → Administrative Tools.)
  3. Double-click Windows Firewall with Advanced Security.
  4. In the Overview section, click Windows Firewall Properties.
  5. On the Domain Profile tab, under Settings, click Customize.
  6. Under Firewall settings, verify that "Display a notification" is set to Yes. (You may also consider setting "Allow unicast response" to Yes.) Click OK.
  7. Under Logging, click Customize.
  8. Verify that "Log dropped packets" is set to Yes. Click OK.
  9. Repeat the steps 5-8 for the Private Profile tab and, optionally, the Public Profile tab. Click OK to exit the Windows Firewall Properties dialog box.
  10. In the left pane, click Inbound Rules, then click Outbound Rules. Review each list of rules for programs that you recognize as Pelco programs or programs that use the Pelco API. For any of these programs that you find listed, double-click the rule.
  11. On the General tab, verify that Enabled and "Allow the connection" are selected.
  12. On the Advanced tab, verify that Domain and Private are selected, and optionally, Public.
  13. Click OK to close the dialog box.
  14. Close the "Windows Firewall with Advanced Security" window.
  15. Back in the Control Panel, click Control Panel Home. Click Network and Sharing Center. (This may be listed under Network and Internet as "View network status and tasks.")
  16. Review the list of networks under "View your active networks." If one is listed as a public network when it should be listed as a home or work network, click the Public network text and choose the appropriate option to change it. Close the resulting dialog box.
  17. Try running one of your Pelco or Pelco API programs.  If a dialog box displays a message that Windows Firewall has blocked this program, click "Allow access." If a User Account Control (UAC) prompt appears, type the password if necessary, then press Enter. You may need to exit and restart the program. It should now work correctly.
  18. If the same Windows Firewall dialog box appears later for a program that should be able to access the network, click "Allow access" and confirm if necessary, then restart the program.