RemoteWing LogoREMOTEWING
All Free Diagnostic Tools

Windows 10/11 CLI · Copy-Ready

Windows 10/11 Local LAN IP & Firewall Command Generator

Fix "Connection Refused" or blocked local Wi-Fi connections in seconds. Customize your port and adapter below to copy clean, non-destructive PowerShell diagnostic and firewall commands for Windows 10 & 11.

PowerShell One-Liners · Windows 10 & 11

Interactive LAN & Firewall Command Builder

1. Find Clean Windows Wi-Fi & Ethernet IPv4 Address

Run in any PowerShell window—enter this IP into RemoteWing Local (LAN) on Android.

Get-NetIPAddress -AddressFamily IPv4 | Where-Object { $_.IPAddress -notlike "127.*" -and $_.IPAddress -notlike "169.254.*" } | Select-Object InterfaceAlias, IPAddress

2. Fix Windows "Public Network" Blocking Local LAN Devices (Admin)

Switches your active Wi-Fi/Ethernet network profile from Public to Private so LAN sockets respond.

Get-NetConnectionProfile | Set-NetConnectionProfile -NetworkCategory Private

3. Allow Inbound TCP 8765 on Private LAN Firewall (Admin)

RemoteWing-Setup.exe adds this automatically; run manually only if custom firewall policies cleared it.

New-NetFirewallRule -DisplayName "RemoteWing Local LAN (8765)" -Direction Inbound -Protocol TCP -LocalPort 8765 -Profile Private -Action Allow

4. Verify RemoteWing Service & Restart Windows Audio Endpoint Builder (Admin)

Checks pccontroller status and refreshes virtual microphone endpoints without rebooting.

Get-Service pccontroller; Restart-Service Audiosrv -Force

Why Windows Blocks Local Wi-Fi Apps by Default (The "Public Profile" Gotcha)

The #1 reason direct LAN connections between an Android phone and a Windows 10/11 PC fail is that Windows frequently classifies home Wi-Fi routers as a "Public" network profile (intended for airport cafés). Under Public profiles, Windows Defender Firewall silently drops inbound LAN packets even on trusted home subnets.

Switching your active Wi-Fi adapter profile to `Private` and verifying your exact `192.168.x.x` / `10.x.x.x` IPv4 address resolves over 90% of local network timeouts immediately.

Frequently Asked Questions

Does RemoteWing-Setup.exe configure Windows Firewall rules automatically?

Yes. The official RemoteWing installer automatically registers inbound rules for TCP 8765 (Local LAN) and WebRTC UDP media—these manual PowerShell commands are only needed if a third-party policy or Public Network profile overrode your settings.

Do these PowerShell commands require Administrator privileges?

Checking your IPv4 address or service status works in a standard terminal. Changing your network profile to Private, adding firewall rules, or restarting audio services requires an Administrator PowerShell window.

Related Guides & Comparisons

More Free Diagnostic Tools