How do I expose local IIS to other PCs on Windows

2020-05-24 05:29发布

问题:

I found the good article to do that http://msdnbangladesh.net/blogs/munnacs/archive/2009/06/13/exposing-your-local-iis-to-network-in-windows-xp.aspx ,but it's for Windows XP and I'm using Windows 7 which gets extremely complicated Firewall settings.

So here is my question, how can I achieve the same thing on Windows 7 as the article does on XP?

Thanks in advance,
yokyo

Edit
Sorry, I fixed the link :p

回答1:

You can achieve the same thing in Windows 7 by doing the following:

  1. Start -> Control Panel
  2. System and Security
  3. Under the Windows Firewall heading:
    • Allow a program through the Windows Firewall
  4. Check the HTTP and HTTPS protocols in the list:
    • Secure World Wide Web Services (HTTPS)
    • Web Management Service (HTTP)
    • Word Wide Web Services (HTTP)


回答2:

Using Windows 10 and I wasn't able to get it to work with this version. Secure World Wide Web Services (HTTPS) and Web Management Service (HTTP) aren't on the list and just World Wide Web Services didn't help.

What eventually worked was setting up an inbound rule for the specific ports my IIS site was using these instructions