you can test the connection by shell command: "ping" and "telnet" confirm the connection is OK ------------------ Original ------------------ From: "mamunbdctg"<mamunbdctg@xxxxxxxxx>; Date: Sat, Apr 9, 2011 01:36 PM To: "php-objects"<php-objects@xxxxxxxxxxxxxxx>; Subject: PHP fopen($full_url_to_same_server, "rb") not working need help i have already used Printer Friendly Pages Generator PHP Class 1.3(http://stefangabos.blogspot.com/2008/04/php-printer-friendly-pages-generator.html) many of my project in different server. but now it is not working with PHP Version 5.2.17 showing following warning failed to open stream: Connection timed out some of my server php value like follows allow_url_fopen On safe_mode Off but this fopen function is working for other server page Please help me to fix this problem [Non-text portions of this message have been removed]