当前位置: 动力学知识库 > 问答 > 编程问答 >

iis - IIS7 access website from remote computer

问题描述:

i created a site on my iis7 it's like http://localhost:88/my

i also can access it like this http://myip:88/my

but when a friend of mine from a remote computer tried to access it like this http://myip:88/my it gives him 404 not found

anybody can tell me what should i do to make it work from remote ?

网友答案:

Check your firewall. You will have to open TCP Port 88.

Part 4: Opening Up to the Outside World

Windows Firewall blocks the World Wide Web Services port by default (Port 80). With this port blocked, other machines cannot connect to your web server. This severely limits the scope of potential web site viewers. So, in order to show your new web site and server to the outside world you must add an exception to the Windows Firewall.

  1. Click Start and type firewall into the Search bar and press enter. (Note: Make sure you select Windows Firewall and not Windows Firewall with Advanced Security)

  2. Click Change Settings

  3. Click the Exceptions Tab and Scroll to World Wide Web Services (HTTP).

  4. Click the check box and click OK.

Now your machine is accessible to the outside world. You can connect to your machine by typing in the IP address of your server into another machine’s web browser.

source

网友答案:

Go Control Panel>System and Security>Windows Firewall>Allowed Programs-> then check all " World Wide Web Services(Http) tab"

Its is worked for me

分享给朋友:
您可能感兴趣的文章:
随机阅读: