TransWikia.com

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!

Ask a Question

Get help from others!

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