Portal Home > Knowledgebase > Articles Database > fsockopen


fsockopen




Posted by Danny159, 11-23-2008, 09:43 AM
fsockopen Hey, How do I fix this error?Warning: fsockopen() [function.fsockopen]: unable to connect to IP (Connection refused) in /home/ddd/public_html/radio/include/radio_stats.php on line 7 __________________ Web

Posted by Dynash, 11-23-2008, 09:45 AM
Are you connecting to a specific port? If so, open it.

Posted by Danny159, 11-23-2008, 10:08 AM
How??? Daniel __________________ Web

Posted by Dynash, 11-23-2008, 11:49 AM
In whatever firewall you use.

Posted by bigks, 11-23-2008, 03:16 PM
If you have a decent host I would just contact them to ask if they mind doing it for you.

Posted by Echelon, 11-23-2008, 03:24 PM
Check the script. You might have it connecting to the wrong port, etc. __________________ Ryan G.

Posted by Barti1987, 11-23-2008, 08:09 PM
You can't fix it. The IP you are trying to connect to is blocking your IP, thus connection is refused. Try testing the script on localhost to see if it confirms. Peace, __________________NEW: What Is Their IP - Anyone's IP a click away. URL Tracker, Shortener, Blocker, Unblocker, Whois and More.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read