无法从万维网连接到apache服务器。 [英] Can't connect to apache server from world wide web.

查看:108
本文介绍了无法从万维网连接到apache服务器。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我一直试图从网络连接到我的apache服务器一段时间没有任何成功。我已将端口转发到托管服务器的设备。我打开了我正在使用的端口(80和443)。我使用了端口检查工具,它验证了我的端口是打开的。当我ping我的服务器主IP地址时,没有任何数据包通过。我做错了什么?



我的尝试:



这是我的文档根标签之间的代码:



Hello,

I've been trying to connect to my apache server from the web for some time now without any success. I've port forwarded my router to the device hosting the server. I've open the ports that I am using (80 and 443). I've used a port checking tool and it verified that my ports were open. when I pinged my servers main ip address, none of the packets made it through. What am I doing wrong?

What I have tried:

here is the code that is in between my document root tags:

<br />
    Options Indexes FollowSymLinks<br />
    AllowOverride All<br />
    Require all granted<br />





我随时提供帮助。



I apperciate any help.

推荐答案

通过端口转发,我假设这是你的家用路由器。如果您正在ping服务器的IP地址,那么您正在ping错地址。您需要ISP分配给您的调制解调器/路由器的外部IP地址。这是你应该用来获取服务器的地址。如果您不知道它是什么,只需从网络内的机器输入Whats my ip进入Google即可查找。
By "port forwarding", I'm assuming this is your home router. If you're pinging the server's IP address, you're pinging the wrong address. You need the external IP address your ISP assigned to your modem/router. That's the address you should be using to get at the server. If you don't know what it is, just type "Whats my ip" into Google from a machine inside your network to find out.


这篇关于无法从万维网连接到apache服务器。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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