Accessing Localhost from Hyper-V VM

Super User Asked by Tim Almond on January 5, 2022

I currently have a PC running Visual Studio/IIS Express and I need to do some IE8 testing, which requires me to run a Hyper-V VM.

When I go into the Hyper-V VM, I can’t seem to go to reach http://localhost:portnumber.

I guess I need to set up hosts for localhost, but I also can’t seem to reach the IP address of the main PC either.

Can someone suggest some steps to follow to solve this? Thanks.

One Answer

To access the host from the virtual machine you need to setup the virtual machine to use the correct network settings as well as updating the settings of you host system.

You can find a guide of how this might be done here:

Debugging IIS Express website from a HyperV Virtual Machine

The guide describes the necessary steps. Hope it helps.

Answered by Jesper Wilfing on January 5, 2022

Add your own answers!

Related Questions

receiving email addressed to another email address

1  Asked on November 4, 2021 by amy-leishman


Delete Local Accounts with Powershell Script

4  Asked on November 4, 2021 by alessio89g


Inverse grep using a pattern file doesn’t show non-matches

1  Asked on November 4, 2021 by that-brazilian-guy


What are “temp” folders used for in Windows 10?

2  Asked on November 3, 2021 by kingofsponges


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP