Wamp server is unable to access using public ip address

こ雲淡風輕ζ 提交于 2019-12-11 12:42:16

问题


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

and in my router settings I have added separate entries: one for TCP and one for UDP packets.

Lastly, I have also enabled

# onlineoffline tag - don't remove

Require all granted

in the httpd.conf file as well. Technically, I should be able to access my wampserver by

http://{public IP address}:{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.


回答1:


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?



来源:https://stackoverflow.com/questions/35934796/wamp-server-is-unable-to-access-using-public-ip-address

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