我的IP似乎被网络托管服务器阻止了

时间:2023-02-13 10:23:17

I have a strange problem, I just installed my php web site on a shared hosting, all services were working fine. But after configuring my app I just could visit my web site only once, other attempts gives:

我有一个奇怪的问题,我刚刚在共享主机上安装了我的php网站,所有服务都运行良好。但在配置我的应用程序后,我只能访问我的网站一次,其他尝试给出:

"The server is taking too long to respond.".

“服务器响应时间过长。”

But from other IP i can access, but only once, it seems all ip addressess beeing blocked after first visit(even ftp and other services get down, no access at all from the IP), can anyone help to explore this problem ? I don't think that it's my app problem, the app works fine on my local PC.

但是从其他IP我可以访问,但只有一次,似乎所有ip addressess beeing在第一次访问后被阻止(甚至ftp和其他服务下降,根本没有IP访问),任何人都可以帮助探索这个问题吗?我不认为这是我的应用程序问题,该应用程序在我的本地PC上工作正常。

Thanks.

3 个解决方案

#1


First thing to try would be a traceroute to determine where your traffic is being blocked.

首先要尝试的是traceroute,以确定您的流量被阻止的位置。

In a windows command prompt:

在Windows命令提示符下:

tracert www.yoursharedhostingserver.com

#2


At the moment, trying to access this address gives this:

目前,尝试访问此地址可以实现:

Fatal error: Class 'mainController' not found in /home/myicms/public_html/core/application/crApplication.class.php on line 181

致命错误:第181行/home/myicms/public_html/core/application/crApplication.class.php中找不到类'mainController'

I have tried it multiple times and it didn't block me. It might be that You have already solved this problem.

我已多次尝试过它并没有阻止我。可能是你已经解决了这个问题。

As far as I know, the behavior described by You could only be explained by a badly configured intelligent firewall. It may have been misconfigured by Your host.

据我所知,You描述的行为只能通过配置不当的智能防火墙来解释。它可能是您的主机错误配置的。

If You visit a site at a certain host and suddenly You cannot access an ftp on this host, then it's either a (really bad) firewall or a (very mean) site that explicitly adds a firewall rule to ignore that address.

如果您访问某个主机上的某个站点并突然无法访问该主机上的ftp,那么它可能是一个(非常糟糕的)防火墙或一个(非常卑鄙的)站点,它明确添加了一个防火墙规则来忽略该地址。

Some things that You might look into:

您可能会关注的一些事情:

It might be something with identd too. What was the service You have configured on Your host? Was it by any chance any kind of server-controll panel (that might have an ability to controll a firewall)?

它也可能与identd有关。您在主机上配置的服务是什么?是否有任何机会服务器控制面板(可能具有控制防火墙的能力)?

Is the blockade permanent, or does it go off after 24h, or does it only go off after rebooting the server? Does restarting some services makes the blockade go off?

*是永久性的,还是在24小时后关闭,还是仅在重新启动服务器后才会关闭?重新启动某些服务会导致*失败吗?

Did You install any software that "protects Your server from portscanning"? It might be a bit too aggressive.

您是否安装了“保护您的服务器免受端口扫描”的任何软件?它可能有点过于激进。

I wish You good luck in finding a source of this problem!

祝你找到这个问题的根源,祝你好运!

#3


Chances are that if you can access it once that its actually working. The problem is more than likely in the php code than in the server.

如果你可以访问它实际工作的可能性。问题很可能在PHP代码中而不是在服务器中。

#1


First thing to try would be a traceroute to determine where your traffic is being blocked.

首先要尝试的是traceroute,以确定您的流量被阻止的位置。

In a windows command prompt:

在Windows命令提示符下:

tracert www.yoursharedhostingserver.com

#2


At the moment, trying to access this address gives this:

目前,尝试访问此地址可以实现:

Fatal error: Class 'mainController' not found in /home/myicms/public_html/core/application/crApplication.class.php on line 181

致命错误:第181行/home/myicms/public_html/core/application/crApplication.class.php中找不到类'mainController'

I have tried it multiple times and it didn't block me. It might be that You have already solved this problem.

我已多次尝试过它并没有阻止我。可能是你已经解决了这个问题。

As far as I know, the behavior described by You could only be explained by a badly configured intelligent firewall. It may have been misconfigured by Your host.

据我所知,You描述的行为只能通过配置不当的智能防火墙来解释。它可能是您的主机错误配置的。

If You visit a site at a certain host and suddenly You cannot access an ftp on this host, then it's either a (really bad) firewall or a (very mean) site that explicitly adds a firewall rule to ignore that address.

如果您访问某个主机上的某个站点并突然无法访问该主机上的ftp,那么它可能是一个(非常糟糕的)防火墙或一个(非常卑鄙的)站点,它明确添加了一个防火墙规则来忽略该地址。

Some things that You might look into:

您可能会关注的一些事情:

It might be something with identd too. What was the service You have configured on Your host? Was it by any chance any kind of server-controll panel (that might have an ability to controll a firewall)?

它也可能与identd有关。您在主机上配置的服务是什么?是否有任何机会服务器控制面板(可能具有控制防火墙的能力)?

Is the blockade permanent, or does it go off after 24h, or does it only go off after rebooting the server? Does restarting some services makes the blockade go off?

*是永久性的,还是在24小时后关闭,还是仅在重新启动服务器后才会关闭?重新启动某些服务会导致*失败吗?

Did You install any software that "protects Your server from portscanning"? It might be a bit too aggressive.

您是否安装了“保护您的服务器免受端口扫描”的任何软件?它可能有点过于激进。

I wish You good luck in finding a source of this problem!

祝你找到这个问题的根源,祝你好运!

#3


Chances are that if you can access it once that its actually working. The problem is more than likely in the php code than in the server.

如果你可以访问它实际工作的可能性。问题很可能在PHP代码中而不是在服务器中。