If your phone cannot connect to your PC via LAN, please follow these 3 steps to resolve the issue.
Step 1: Allow Port via Command (Recommended)
As a developer or power user, using PowerShell is the fastest way.
- On Windows 11, right-click the Start menu and select Terminal (Admin) or PowerShell (Admin).
- Paste and run the following command to allow port 9999 inbound:
New-NetFirewallRule -DisplayName "Allow Port 9999" -Direction Inbound -LocalPort 9999 -Protocol TCP -Action Allow
After running this, test the connection on your phone again.
Step 2: Check Network Profile (Often Overlooked)
If step 1 didn't work, your network might be identified as "Public". Windows blocks most custom ports on Public networks.
- Open Settings -> Network & internet.
- Click on Ethernet or Wi-Fi at the top.
- Under "Network profile type", you must select "Private".
Note: If it is set to Public, Windows will silently drop inbound connections even if firewall rules exist.
Step 3: Remove Residual "Block" Rules
If you accidentally clicked "Cancel" on the initial Windows Security Alert, the system created a Block rule. Block rules override Allow rules.
- Press
Win + R, typewf.mscand press Enter. - Click Inbound Rules on the left.
- Sort by "Local Port", find any rules for 9999 or rules containing the program name.
- If you see a red Prohibitory icon, right-click -> Delete.
Ultimate Fallback: Registry Edit (100% Effective)
If PowerShell fails or the Settings app is locked, you can force the Private profile via Registry:
- Press
Win + R, typeregedit. - Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles - Check the subfolders for your current network name in the ProfileName value.
- Double-click Category on the right and change its value to 1 (1 = Private, 0 = Public).
- Click OK. The change applies immediately.
Ready to experience lightning-fast typing?
Download the TypeAero beta today and unlock a zero-latency input channel from your phone to your PC.
Download TypeAero