Inspecting Adapter and Firewall Settings - Win32 apps (2024)

  • Article

A misconfigured firewall can cause WSD applications to fail. This topic provides some troubleshooting procedures to use when WSD clients and hosts cannot see each other on the network. The firewall settings should be inspected before using any other application troubleshooting procedure.

To inspect the adapter and firewall settings

  1. Verify that the Network Discovery exception is enabled.

  2. Check that there are no application-specific firewall rules blocking the application.

  3. Explicitly enable the ports used for discovery and metadata exchange.

  4. Disable the firewall and retest the application.

    Note

    The firewall should be re-enabled after completing this step.

Verifying that the Network Discovery exception is enabled

If any WS-Discovery applications are running, the Network Discovery firewall exception must be allowed.

To enable the Network Discovery firewall exception

  1. Click Start, click Run, and then type firewall.cpl. This opens the Windows Firewall Control Panel applet.
  2. Choose Allow a program through Windows Firewall.
  3. On the Exceptions tab, select the Network Discovery check box.
  4. Click OK to close the firewall applet.

Retest the program after making this firewall change. If the program now works successfully, the cause of the problem has been identified and no further troubleshooting steps are necessary. Otherwise, move on to the next step.

Checking for application-specific firewall rules

Advanced configuration of the Windows Firewall can take place in a Microsoft Management Control (MMC) snap-in named Windows Firewall with Advanced Security. This snap-in can be used to troubleshoot suspected firewall problems.

Developers can use the Windows Firewall with Advanced Security APIs to create firewall rules that apply to their WSD applications. Specifically, the Add method of the INetFwRules interface can be used to add a new firewall rule. If firewall rules are created incorrectly, clients and hosts may not be able to see each other on the network.

To check for application-specific firewall rules

  1. Click Start, click Run, and then type wf.msc.
  2. Look for application-specific rules that may be blocking traffic. For more information, see Windows Firewall with Advanced Security - Diagnostics and Troubleshooting Tools.
  3. Remove application-specific rules.

If no application-specific rules were found, move on to the next step. If an application-specific rule was found and removed, retest the program after making the firewall change. If the program now works successfully, the cause of the problem has been identified and no further troubleshooting steps are necessary. Otherwise, move on to the next step.

WS-Discovery uses the UDP port 3702 for message exchange. In addition, TCP ports 5357 and 5358 are sometimes used for metadata exchange. These ports can be explicitly opened on the firewall using the procedures described in "Open a port in Windows Firewall".

Retest the program after making this firewall change. If the program now works successfully, the cause of the problem has been identified and no further troubleshooting steps are necessary. Otherwise, move on to the next step.

Disabling the firewall

The Windows Firewall can be disabled to help troubleshoot suspected problems. Other applicable firewalls (such as the firewall on a router) can also be disabled for troubleshooting purposes. For information about enabling and disabling the Windows Firewall, see Turn Windows Firewall on or off.

Retest the application after disabling any applicable firewalls. If the program now works successfully, then the firewall was blocking the traffic. There are a few possible causes of blocked traffic.

  • Application-specific exceptions blocked the traffic. Check for application-specific firewall rules as described above.
  • The device took too long to respond to UDP requests. The Windows Firewall may block UDP responses that return more than 4 seconds after the initial request was sent. Continue troubleshooting by following the procedures given in Using a Generic Host and Client for UDP WS-Discovery to see if the problem reproduces with a host that responds in less than 4 seconds.

If the application still fails after the firewall is disabled, then the firewall is not causing the application failure. Re-enable the firewalls and continue troubleshooting by following the procedures given in Using a Generic Host and Client for UDP WS-Discovery.

Firewalls should always be re-enabled after troubleshooting has finished.

WSDAPI Diagnostic Procedures

Getting Started with WSDAPI Troubleshooting

Inspecting Adapter and Firewall Settings - Win32 apps (2024)
Top Articles
Capital Gains Tax in France: What You Need to Know
Online EXCEL to CSV Converter
Jack Doherty Lpsg
Automated refuse, recycling for most residences; schedule announced | Lehigh Valley Press
Pangphip Application
J & D E-Gitarre 905 HSS Bat Mark Goth Black bei uns günstig einkaufen
Nyu Paralegal Program
Mate Me If You May Sapir Englard Pdf
Alan Miller Jewelers Oregon Ohio
Explore Tarot: Your Ultimate Tarot Cheat Sheet for Beginners
St Petersburg Craigslist Pets
Obituaries
Beds From Rent-A-Center
Legacy First National Bank
Infinite Campus Parent Portal Hall County
2016 Hyundai Sonata Price, Value, Depreciation & Reviews | Kelley Blue Book
Ivegore Machete Mutolation
Diablo 3 Metascore
Morgan And Nay Funeral Home Obituaries
Dutch Bros San Angelo Tx
Char-Em Isd
Buy Swap Sell Dirt Late Model
Publix Super Market At Rainbow Square Shopping Center Dunnellon Photos
Silive Obituary
Loft Stores Near Me
Ahrefs Koopje
Www.patientnotebook/Atic
Yosemite Sam Hood Ornament
Panolian Batesville Ms Obituaries 2022
Watertown Ford Quick Lane
208000 Yen To Usd
Current Students - Pace University Online
Elanco Rebates.com 2022
Myra's Floral Princeton Wv
LEGO Star Wars: Rebuild the Galaxy Review - Latest Animated Special Brings Loads of Fun With An Emotional Twist
Blackstone Launchpad Ucf
CVS Near Me | Somersworth, NH
Pepsi Collaboration
Telugu Moviez Wap Org
Hireright Applicant Center Login
Owa Hilton Email
Tinfoil Unable To Start Software 2022
Go Nutrients Intestinal Edge Reviews
Mother Cabrini, the First American Saint of the Catholic Church
John Wick: Kapitel 4 (2023)
The Many Faces of the Craigslist Killer
A jovem que batizou lei após ser sequestrada por 'amigo virtual'
CPM Homework Help
Clock Batteries Perhaps Crossword Clue
Arnold Swansinger Family
Overstock Comenity Login
Ippa 番号
Latest Posts
Article information

Author: Ray Christiansen

Last Updated:

Views: 6271

Rating: 4.9 / 5 (49 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Ray Christiansen

Birthday: 1998-05-04

Address: Apt. 814 34339 Sauer Islands, Hirtheville, GA 02446-8771

Phone: +337636892828

Job: Lead Hospitality Designer

Hobby: Urban exploration, Tai chi, Lockpicking, Fashion, Gunsmithing, Pottery, Geocaching

Introduction: My name is Ray Christiansen, I am a fair, good, cute, gentle, vast, glamorous, excited person who loves writing and wants to share my knowledge and understanding with you.