开发者

IIS7 access website from remote computer

开发者 https://www.devze.com 2022-12-09 05:23 出处:网络
i created a site on m开发者_StackOverflowy iis7 it\'s like http://localhost:88/my i also can access it like this http://myip:88/my

i created a site on m开发者_StackOverflowy 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


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


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

Its is worked for me

0

精彩评论

暂无评论...
验证码 换一张
取 消