IIS7 access website from remote computer

99封情书 提交于 2019-12-18 10:33:57

问题


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 ?


回答1:


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




回答2:


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

Its is worked for me




回答3:


If firewall setting is not the issue (say it's turned off), find out public IP of your server (ex. 192.168.0.152), then add it to http listener on the server itself Open cmd and type: netsh http add iplisten 192.168.0.152



来源:https://stackoverflow.com/questions/1625345/iis7-access-website-from-remote-computer

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!