访问路由器后面的Web服务器 [英] Accessing Web Server behind a Router

查看:206
本文介绍了访问路由器后面的Web服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我不知道我是否必须在这个论坛中提出这个问题,但我相信我会得到答案.我一直在开发一个购物网站,目的只是为了学习.我也将其连接到PayPal沙盒.现在要测试它的IPN(即时付款通知),我需要一个有效的网址.
我使用no-ip.com将网址重定向到我的IP地址.现在,我有一个问题.我有一个UTStarCom WA3002G4调制解调器/路由器.我已将其配置为PPPoE模式,因此它可以直接连接到Internet.现在,外部IP地址实际上是我的调制解调器/路由器的IP.我有一台可以正常工作的笔记本电脑,它通过WiFi连接到我的路由器.我还设置了一个静态内部IP,并将外部PORT 8085内部转发到我的笔记本电脑IP的端口80,即192.168.1.11(我的笔记本电脑的内部静态IP).现在,当我使用端口检查网站在线测试端口时,它表明该端口是开放的,但是当我通过指定的URL访问该端口时(由于安全原因,我将不会共享该端口),我看到的页面是Unable连接到服务器.我不知道怎么了.
我的服务器当前是Xampp Apache服务器.我已经编辑了apache文件夹中的conf文件,以便我可以指向我的网站的文件夹,这样,当我在浏览器中键入http://localhost/时,我可以直接重定向到我自己的网站目前正在研究中.我也删除了所有安全检查,但是即使无法访问我的网站也是如此.
请帮我.提前非常感谢您.

更新1

你好!我刚刚在名为
的网站上测试了服务器的状态 http://www.iwebtool.com/server_status [

Hi Everyone,
I don''t know if I have to ask this question in this forum but I believe that I will get my answer. I have been developing a shopping website just for learning purpose. I also connected it to PayPal Sandbox. Now to test it''s IPN(Instant Payment Notification), I need a working url.
I used no-ip.com to redirect a url to my ip address. Now, I have a problem. I have a UTStarCom WA3002G4 Modem/Router. I have configured it in PPPoE mode so, it connects directly to internet. Now the external IP address is actually the IP of my Modem/Router. I have a laptop on which I normally work, and it is connected to my Router through WiFi. I also have setup a static internal IP and Forwarded the external PORT 8085 internally to PORT 80 of the IP of my Laptop ie, 192.168.1.11(internal static IP of my Laptop). Now when I test the port online using port checking website it shows that port is open but, when I access it through the url that I have specified(I will not be sharing it due to security reasons), I am seeing the page, Unable to Connect to Server. I don''t know What is wrong.
My Server is currently Xampp Apache Server. It''s conf file in apache folder has been edited by me so that I can point to my website''s folder such that when I type http://localhost/ on my browser I am directly redirected to my own website that I am currently working on. I have also removed all the security checks, but even though I am unable to access my website.
Please help me. Thank you very much in advance.

Update 1

Hi! I have just tested the status of my server on a website called
http://www.iwebtool.com/server_status[^]
and, it''s result says that HTTP Server is accessible.
But when I tried to access it locally on my pc by putting the url that I mentioned on no-ip.com, I got error message that Web Server is not responding.
Is it only due to the reason that accessing same url on the same machine on which the server is running leads to loop back condition and so, server rejects the request or either don''t responds.

Please give me your views.

UPDATE 2

Hi! I doubted the results so, I tested the server status directly by putting my IP address such that
[::]:8085 (where [::] is my external IP address.
The result was shocking. It said, Your server is either responding slow or is Offline.
Help me out please. It''s creating lots of problem now.

[edit] clickable link [/edit]

推荐答案

您需要在调制解调器上配置端口转发"或虚拟服务器",请尝试以下链接: http://forum.raymond.cc/general-forum/5496-how-to-open -ports.html [ ^ ]
You need to configure "port forwarding" or "virtual servers" on your modem, try this link : http://forum.raymond.cc/general-forum/5496-how-to-open-ports.html[^]


这篇关于访问路由器后面的Web服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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