Skip to content

Commit 619a118

Browse files
Merge pull request #5619 from MicrosoftDocs/copilot/fix-2719
Add missing firewall rule instructions for AuthHost debugging with Fiddler
2 parents 2095d51 + 8dcdb1a commit 619a118

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

uwp/security/web-authentication-broker.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,3 +178,28 @@ The Fiddler web debugger can be used with apps. For more information, see [Fiddl
178178
```
179179
180180
3. Add a firewall rule for incoming traffic to Fiddler.
181+
182+
You can create the firewall rule using either the command line or the Windows Defender Firewall GUI:
183+
184+
**Option A: Using netsh command (run as administrator):**
185+
186+
```cmd
187+
netsh advfirewall firewall add rule name="Fiddler for AuthHost Debugging" dir=in action=allow program="C:\Program Files\Fiddler\Fiddler.exe" enable=yes
188+
```
189+
190+
If Fiddler is installed in a different location, adjust the path accordingly. Alternatively, you can create a port-based rule:
191+
192+
```cmd
193+
netsh advfirewall firewall add rule name="Fiddler Port for AuthHost" dir=in action=allow protocol=TCP localport=8888
194+
```
195+
196+
**Option B: Using Windows Defender Firewall with Advanced Security:**
197+
198+
1. Open Windows Defender Firewall with Advanced Security (run `wf.msc`)
199+
1. Click "Inbound Rules" in the left pane
200+
1. Click "New Rule..." in the right pane
201+
1. Select "Program" and click Next
202+
1. Browse to your Fiddler executable (typically `C:\Program Files\Fiddler\Fiddler.exe` in a per-machine installation) and click Next
203+
1. Select "Allow the connection" and click Next
204+
1. Check all network types (Domain, Private, Public) and click Next
205+
1. Give the rule a name like "Fiddler for AuthHost Debugging" and click Finish

0 commit comments

Comments
 (0)