IIS7 从远程计算机访问网站 [英] IIS7 access website from remote computer

查看:19
本文介绍了IIS7 从远程计算机访问网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的 iis7 上创建了一个站点,就像 http://localhost:88/my我也可以这样访问它 http://myip:88/my但是当我的一个朋友从远程计算机尝试像这样访问它时 http://myip:88/my它给了他 404 not found

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 ?

推荐答案

检查你的防火墙.您必须打开 TCP 端口 88.

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

第 4 部分:向外界敞开心扉世界

Part 4: Opening Up to the Outside World

Windows 防火墙阻止了 World Wide默认情况下的 Web 服务端口(端口80).阻塞此端口后,其他机器无法连接到您的网络服务器.这严重限制了潜在网站浏览者的范围.所以,为了展示你的新网站和服务器到外面的世界你必须向 Windows 添加例外防火墙.

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. 单击开始并在搜索栏中输入防火墙,然后按 Enter.(注意:确保选择 Windows防火墙而不是 Windows 防火墙高级安全性)

  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)

点击更改设置

单击例外选项卡并滚动到万维网服务(HTTP).

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

点击复选框,然后点击确定.

Click the check box and click OK.

现在您的机器可以访问了外面的世界.您可以连接到你的机器输入IP您的服务器的地址到另一个机器的网络浏览器.

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.

来源

这篇关于IIS7 从远程计算机访问网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆