Homepage

06/17/2012 11:56 .KingDarkness#1
Hallo,

ich habe letztens meine Homepage installiert, doch nun wenn ich auf der Homepage gehe ladet sie den Serverstatus sehr langsam und es wird "Offline" angezeigt. Außer bei MySQL da ist sie Online.

Hier das Script:

PHP Code:
<font color="#3399FF">
<center>
<?php
        $serverip 
"*ROOTIP";
        
$ip gethostbyname($serverip);
        
$portlist=array(33061100213001130021300313004);
        
$status=array("Mysql Server:""Login Server:""Channel1:""Channel2:","Channel3","Channel4");
        
$i=0;

    foreach  (
$portlist as $port){
    echo 
"".$status[$i]."";
        
$online = @fsockopen($ip$port$errno$errstr1);
    if (!
$online)
    {
        echo 
"<font class=off> Offline</font>
              <div class=sb-tren></div>"
;

    }
    else
    {
        echo 
"<font color=#669e33> Online</font>
              <div class=sb-tren></div>"
;
    }
        @
fclose($online);
        
$i++;
    } 
    
?>
    </center></font>
In den Firewallrules von den Root Server sind die Ports auch freigeschaltet:

PHP Code:
# open port ftp (20,21), ssh (22), mail (25)
# http (80), dns (53) etc
$IPF 130 allow tcp from any to any 22 in
$IPF 140 allow tcp from any to any 22 out
$IPF 150 allow tcp from any to any 3306 in
$IPF 160 allow tcp from any to any 3306 out
$IPF 170 allow tcp from any to any 13001 in
$IPF 180 allow tcp from any to any 13001 out
$IPF 190 allow tcp from any to any 13002 in
$IPF 200 allow tcp from any to any 13002 out
$IPF 330 allow tcp from any to any 13003 in
$IPF 340 allow tcp from any to any 13003 out
$IPF 210 allow tcp from any to any 13004 in
$IPF 220 allow tcp from any to any 13004 out
$IPF 230 allow tcp from any to any 13099 in
$IPF 240 allow tcp from any to any 13099 out
$IPF 250 allow tcp from any to any 80 in
$IPF 260 allow tcp from any to any 80 out
$IPF 270 allow tcp from any to any 11002 in
$IPF 280 allow tcp from any to any 11002 out
$IPF 290 allow tcp from any to any 13000 in
$IPF 300 allow tcp from any to any 13000 out
$IPF 310 allow udp from any to any 11002 in
$IPF 320 allow udp from any to any 11002 out

#udp reqest
$IPF 450 allow udp from any to any 13001 in
$IPF 460 allow udp from any to any 13001 out
$IPF 470 allow udp from any to any 13002 in
$IPF 480 allow udp from any to any 13002 out
$IPF 490 allow udp from any to any 13003 in
$IPF 500 allow udp from any to any 13003 out
$IPF 510 allow udp from any to any 13004 in
$IPF 520 allow udp from any to any 13004 out
$IPF 530 allow udp from any to any 9987 in
$IPF 540 allow udp from any to any 9987 out
$IPF 550 allow udp from any to any 11002 in
$IPF 560 allow udp from any to any 11002 out
$IPF 570 allow udp from any to any 13099 in
$IPF 580 allow udp from any to any 13099 out 
Das sind die Firewallrules aber leider funktioniert es trotzdem nicht, wir haben es auch schon mit ausgestellter Firewall versucht aber leider ohne Erfolg. *Die Root Server IP wurde auch oben eingetragem
06/17/2012 13:45 .TRON™#2
Wir haben schon den Anbieter angeschrieben, jedoch schreibt er gerade nicht zurück.
Hoffentlich könnt ihr uns weiter helfen.

Mfg
06/17/2012 13:48 Mangoox3#3
Aber alles ist online? und er zeigt als offline an?
06/17/2012 13:53 .KingDarkness#4
Ja genau. Wir haben schon alles versucht aber nix funktioniert.
06/17/2012 14:00 ɑɀe'#5
Stimmen die Ports im Script?

Mit freundlichen Grüßen
06/17/2012 14:03 .TRON™#6
Alles ist online, jedoch geht es nicht.
Ja die Ports stimmen...

Mfg
06/17/2012 14:04 .KingDarkness#7
Ja die Ports stimmen zu 100%