Skip to content

Commit 2b9d8e7

Browse files
Add missing firewall rule instructions for AuthHost debugging with Fiddler
Co-authored-by: alvinashcraft <[email protected]>
1 parent 7f06d18 commit 2b9d8e7

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

uwp/security/web-authentication-broker.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,3 +178,25 @@ 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+
```cmd
186+
netsh advfirewall firewall add rule name="Fiddler for AuthHost Debugging" dir=in action=allow program="C:\Program Files\Fiddler\Fiddler.exe" enable=yes
187+
```
188+
189+
If Fiddler is installed in a different location, adjust the path accordingly. Alternatively, you can create a port-based rule:
190+
```cmd
191+
netsh advfirewall firewall add rule name="Fiddler Port for AuthHost" dir=in action=allow protocol=TCP localport=8888
192+
```
193+
194+
**Option B: Using Windows Defender Firewall with Advanced Security:**
195+
1. Open Windows Defender Firewall with Advanced Security (run `wf.msc`)
196+
2. Click "Inbound Rules" in the left pane
197+
3. Click "New Rule..." in the right pane
198+
4. Select "Program" and click Next
199+
5. Browse to your Fiddler executable (typically `C:\Program Files\Fiddler\Fiddler.exe`) and click Next
200+
6. Select "Allow the connection" and click Next
201+
7. Check all network types (Domain, Private, Public) and click Next
202+
8. Give the rule a name like "Fiddler for AuthHost Debugging" and click Finish

0 commit comments

Comments
 (0)