Hosting service under firewall? lol:biggthumpStryk0ur said:http server of x10hosting are under firewall or what ?
And what program you use to coonect?Bryon said:Are you behind a router?
<?php
$fp = fsockopen ("http://84.95.247.20", 6958, $errno, $errstr, 30);
if(!$fp) {
echo $errstr;
} else {
fwrite($fp, "GET / HTTP/1.1\r\nHost: http://84.95.247.20:6958\r\nConnection: Keep-Alive\r\n\r\n");
$data = '';
while(!feof($fp)) {
$data .= fread($fp, 4096);
if(substr($data, -9)=="\r\n\r\n0\r\n\r\n") {
exit;
}
}
}
echo $data;
?>
fsockopen('84.95.247.20', 6958, $errno, $errstr, 30);
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /backup/home/stryk0ur/public_html/socks.php on line 2
Warning: fsockopen(): unable to connect to http://84.95.247.20:6958 in /backup/home/stryk0ur/public_html/socks.php on line 2
Success
Warning: fsockopen(): unable to connect to 84.95.247.20:6958 in /backup/home/stryk0ur/public_html/socks.php on line 2
Connection timed out
<?php
$fp = fsockopen('84.95.247.20', 6958, $errno, $errstr, 10);
if(!$fp) {
echo $errstr;
} else {
fwrite($fp, "GET / HTTP/1.1\r\nHost: http://84.95.247.20:6958\r\nConnection: Keep-Alive\r\n\r\n");
$data = '';
while(!feof($fp)) {
$data .= fread($fp, 4096);
if(substr($data, -9)=="\r\n\r\n0\r\n\r\n") {
exit;
}
}
}
echo $data;
?>