简体   繁体   中英

How to use the IIS server in a VM on Mac host?

I need to access my http://localhost/ (in IIS 6 on VM) from the MAC Host (Safari).

I am using NAT (or can use Bridged) network connection to the Guest, but not sure how to identify IP addresses, etc. A novice when it comes to networking ;-)

Thanks, Geoff

A simple solution if you want a consistent hostname is to install Bonjour for Windows in the VM with bridged networking and then use http:// computername .local in Safari.

It's possible to forward ports from a NATed VM too or ensure a consistent IP address if you want; some instructions are here .

Just try to off Windows firewall on your virtual machine. This works for me in NAT mode.

Also, as mantioned before, is nice to have Bonjour for Windows installed to have more useful URL.

In Safari, you should be able to type in the IP address of your VM and be able to access IIS that way. Firewall settings permitting of course, but I assume you've set that up already.

If it doesn't work, could you please post more details about your current setup (VM software being used to run the guest, OS X version, Windows version) and I'm sure we'll be able to troubleshoot further.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM