Wamp服务器无法使用公共IP地址访问 [英] Wamp server is unable to access using public ip address
问题描述
我试图将手机与我创建的wampserver连接起来,并期待基于OTP的应用程序。我的目标是为PC和移动设备建立一个不同的网络,并期待使用公共IP进行访问。为了启用端口转发,我已将httpd.conf中的端口更改为
I have trying to connect my phone with the wampserver I created and is looking forward for an OTP based application. I aim to have a different network for both the PC and mobile and look forward to use public IP for accessing. To enable port forwarding I have changed the port in httpd.conf to
Listen 8080
Listen 8080
,在我的路由器设置中,我添加了单独的条目:一个用于TCP,一个用于UDP数据包。
and in my router settings I have added separate entries: one for TCP and one for UDP packets.
最后,我还启用了
#onlineoffline标记-不要删除
# onlineoffline tag - don't remove
Require all granted
也在httpd.conf文件中。从技术上讲,我应该能够通过
in the httpd.conf file as well. Technically, I should be able to access my wampserver by
http:// {公共IP地址}:{8080} /
我也可以访问防火墙中的端口8080,但是当我在线检查公共IP中的端口状态时,它显示<在公共IP地址上,strong> 8080端口已关闭。不幸的是,我无法访问以下服务器。我现在有点困惑,我想我被一些愚蠢的东西困住了。
I have also given access to the port 8080 in my firewall, but when I do check online the status of port in public IP, it shows 8080 port is closed on the {public IP address}. Unfortunately, I am not able to access the following server. I am bit confused at the moment and I guess I am stuck with something really silly. I will be deeply obliged if anyone could help me with the issue.
推荐答案
如果您的端口仍处于关闭/阻塞状态,则可能是另一个路由器/ firewal / ...阻止了它。您的实习生提供者在您的路由器前面是否可能有自己的路由器?
If your port is still closed / blocked you probably have another router / firewal / ... blocking it. Does your internt providor maybe have a router of their own in front of your router?
这篇关于Wamp服务器无法使用公共IP地址访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!