沼泽阻塞外部交通

Wamp Blocking Outside traffic



沼泽 Version:2.5
WindowsVersion:10
阿帕奇 Version:2.4.9


Wamp 是绿色的,它是在线的,当我输入本地主机时它可以工作,它可以在我的本地网络中工作,这意味着我家里的任何人都可以访问该站点,我已经端口转发了!但是当我尝试从我的网络外部访问我的网站时,它一直在加载并且永远无法工作!


虚拟主机

<VirtualHost *:80>
    DocumentRoot "C:/wamp/www"
    ServerName aaess.tk
    ServerAlias www.aaess.tk
    Options Indexes FollowSymLinks
    <Directory  "C:/wamp/www">
        AllowOverride All
        Require all granted             <- to allow inet access
    </Directory>
</VirtualHost>

有人可以帮忙解释一下为什么 wamp 会阻止外部流量吗?

可能是您的 ISP 阻止了端口 80。

简单测试

您可以更改端口转发。

不是将路由器端口 80 转发到 PC 端口 80,而是修改路由器端口转发以将路由器端口 8888 转发到 PC 端口 80。

然后使用 http://aaess.tk:8888

访问网站

使用此方法,您可以将虚拟主机保留在端口 80 上。

It maybe worth trying a few different port numbers, I have knows ISP's to block port 8000 and 8080 as well as these are the most frequently tried alternative port numbers.

Also if you are getting your internet connection via a central connection in an apartment block or compound of some sort. It maybe that you will not find any port that you can use as the central router will be blocking all ports other than port 80.