mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-10 21:55:11 +01:00
Merge pull request #81 from MustardChef/MustardChef-patch-2
Guide: LocalHost Loopback
This commit is contained in:
commit
2f8bc2b09d
18
Guides/LocalHostLoopback.md
Normal file
18
Guides/LocalHostLoopback.md
Normal file
@ -0,0 +1,18 @@
|
||||
# WSABuilds <img src="https://img.shields.io/github/downloads/MustardChef/WSABuilds/total?label=Total%20Downloads&style=for-the-badge"/>
|
||||
## Guide: LocalHost Loopback
|
||||
#### Preface: You want to connect WSA to the localhost (Windows 11 hosting machine) or to a development server I run on Windows 11 or any such scenario where you would want to connect to the Windows 11 localhost, but are unable to
|
||||
|
||||
## Process:
|
||||
|
||||
**1.** Run PowerShell as administrator
|
||||
|
||||
**2.** Execute
|
||||
```powershell
|
||||
Set-NetFirewallHyperVVMSetting -VMCreatorId '{9E288F02-CE00-4D9E-BE2B-14CE463B0298}' -LoopbackEnabled True
|
||||
```
|
||||
|
||||
3.Execute
|
||||
```powershell
|
||||
New-NetFirewallHyperVRule -DisplayName LoopbackAllow -VMCreatorId '{9E288F02-CE00-4D9E-BE2B-14CE463B0298}' -Direction Inbound -Action Allow -LocalPorts [PORT]
|
||||
```
|
||||
(replacing [PORT] with the port you're trying to expose)
|
Loading…
Reference in New Issue
Block a user