Todd, Monday, May 13, 2002, 4:44:30 PM, you wrote: TC> Egor -
TC> Here is the code: TC> <? TC> $link = mysql_connect("209.204.172.122", "root", "mypassword"); TC> if ($link) { TC> print("Connected<br>"); TC> } else { TC> print("Cannot connect<br>"); TC> } ?>> TC> The error is a timeout with the following message and I think the answer is right in TC> front of me: need to open port 110. Could that be true? I check my router and see if TC> it has port 110 open - with Interbase, it is port 3050. 110 - is an error code, not a number of port. # perror 110 Error code 110: Connection timed out There are a lot of causes of this error. TC> Warning: Can't connect to MySQL server on '209.204.172.137' (110) in TC> /var/www/html/mysql/php/connect.php on TC> line 2 TC> Todd Cary -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php