Genuine troubleshooting screenshot/photo pending. No illustrative or generated image is used.
?>The problem
A service is listening locally but remote clients cannot connect, or behaviour changes when network profile changes.
Recommended approach
Create a narrow rule only after confirming protocol/port and trusted source range: New-NetFirewallRule -DisplayName "App TCP 8443 from Management VLAN" -Direction Inbound -Protocol TCP -LocalPort 8443 -RemoteAddress 10.20.50.0/24 -Action Allow -Profile Domain. Adapt to the real service.
Step-by-step checklist
- Capture the exact symptom, error and affected scope.
- Run the read-only diagnostic commands and save output.
- Identify the first failing dependency.
- Apply only the narrow correction supported by evidence.
- Verify the original operation from the affected endpoint.
- Record rollback and monitor for recurrence.
Before you begin
Applicable to supported Windows Server/client environments where the named role or feature is installed. Run read-only checks first from an elevated PowerShell or Command Prompt as appropriate. Replace example hostnames, domain names, addresses, ports and paths with values from the affected environment. Record the exact error, timestamp, OS build and scope of impact.
Production safety: obtain change approval and a verified backup before modifying AD DS, DNS, DHCP, firewall, IIS, storage or Hyper-V configuration. Ensure console/out-of-band access before network or remote-access changes.
Symptoms and likely root cause
A service is listening locally but remote clients cannot connect, or behaviour changes when network profile changes.
No listener, wrong active profile, inbound rule scope mismatch, GPO override or upstream ACL.
Diagnostic commands
Get-NetTCPConnection -LocalPort 8443 -State Listen
Get-NetConnectionProfile
Get-NetFirewallProfile
Get-NetFirewallRule -PolicyStore ActiveStore | Where-Object {$_.Enabled -eq $true -and $_.Direction -eq Inbound} | Select DisplayName,Profile,Action,PolicyStoreSource
Get-Content "$env:windir\system32\LogFiles\Firewall\pfirewall.log" -Tail 30Run the commands in order and save the complete output. The commands above are intended to establish the failing layer before a configuration change is attempted.
How to interpret the results
A missing listener means application/service fault, not firewall. Confirm active profile and whether effective rule comes from local policy or GPO. Enable dropped-packet logging in the relevant profile before changing rules.
Practical correction
Create a narrow rule only after confirming protocol/port and trusted source range: New-NetFirewallRule -DisplayName "App TCP 8443 from Management VLAN" -Direction Inbound -Protocol TCP -LocalPort 8443 -RemoteAddress 10.20.50.0/24 -Action Allow -Profile Domain. Adapt to the real service.
Make one change at a time. Re-run the failed diagnostic after each change so the cause-and-effect relationship is clear.
Fallback and recovery
Record current policy and remove only the new rule if exposure or side effects occur. Never disable all firewall profiles. Verify from an approved source and confirm an unapproved source remains blocked.
Verification checklist
Success: intended source reaches the service, blocked source remains blocked and firewall log confirms expected traffic.
- Repeat the original failing operation from the affected client/user or service.
- Test from a second approved endpoint or subnet where relevant.
- Review the relevant event log/IIS log after the fix.
- Record the change, actual result and any remaining limitation.
Frequently asked question
Should I disable firewall profiles to test? No. Use logging and a narrowly scoped rule with rollback.
Official technical reference
Microsoft Learn — configure logging
Use the official documentation for exact version support, prerequisites and any procedure that differs between Windows Server releases.
Technician field note
This runbook describes a controlled diagnostic path; it is not a universal guarantee that every environment has the same cause. If evidence does not match the expected result, stop and investigate rather than applying unrelated fixes. Do not mark the incident resolved until the original symptom is verified as cleared.
Need this solution implemented?
Share your current setup, error message, number of users or site requirement. We can discuss the practical next step.
Talk to an Expert →