Ohh so what port would i need?
Printable View
Try this very simple socket connection test.
If it doesn't work, it's your host's fault (it's harder for them to deny when they see such a basic script =])
PHP Code:<?php
$host = ""; // Shoutcast server address
$port = ""; // Shoutcast server port
$fp = fsockopen($host,$port,$errno,$errstr,30);
if (!$fp) die("Error: $errstr ($errno)");
echo "Connection successful! :)";
fclose($fp);
?>
Warning: fsockopen() [function.fsopen]: unable to connect to *REMOVED*:8003 (Connection timed out) in /home/REMOVED/public_html/tunesfm/stats.php on line 5
Error: Connection timed out (110)
Either you've got the address / port wrong for your shoutcast host, or your php access is restricted ;)
Don't ask them if it's a PHP limitation. Ask them if they are blocking port (insert your port here).