daxamite Posted August 11, 2006 Posted August 11, 2006 On my PHP script, I get a timeout. Here is the script: <?php $fp = fsockopen("64.62.227.24", 6210, $errno, $errstr, 1); //open connection yet again if(!$fp) { //if connection echo("Fail: $errno - $errstr"); } else{ echo("Success"); } ?> and here is the result when I run it from server123 (triphopstop.com) Warning: fsockopen(): unable to connect to 64.62.227.24:6210 in /home/jjrrftt/public_html/testgrab.php on line 2 Fail: 110 - Connection timed out Quote
TCH-Dick Posted August 11, 2006 Posted August 11, 2006 There is nothing wrong with your script nor fsockopen. The problem is we don't leave ports like that open on the server and usually will not open them. You will need to submit a ticket to the help desk and provide the who, what, and why you need that port and request that it be opened. Quote
TCH-Don Posted August 11, 2006 Posted August 11, 2006 And another Welcome to the forum, daxamite Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.