ritwickdey / vscode-live-server-plus-plus

VsCode Live Server++ : It's Truly Live 😊 (BETA) -- [NOT RELEASED YET]
MIT License
515 stars 318 forks source link

Local ip address is from Hyper-V switch when useLocalIp is true #34

Open TonnyWildeman opened 1 year ago

TonnyWildeman commented 1 year ago

I have a win-10 setup with Hyper-V installed and a NATting switch. When live-server is set to use the local ip. It binds to the ip of the natting switch.

I expect it to use the ip-address of the hardware nic.

TonnyWildeman commented 1 year ago

As a workaround I bind to 0.0.0.0. This binds to all interfaces. e.g. in .vscode/settings.json for the host: { "liveServer.settings.host": "0.0.0.0" }