raimis100 Posted January 10, 2009 Share Posted January 10, 2009 Warning: fsockopen() [function.fsockopen]: unable to connect to 92.48.***:4108 (Connection refused) in /home/raimis10/public_html/captcha/ccproto_client.php on line 32 What can I possible do to solve this error ? When I tried this on localhost everything were fine but when I uploaded it on hostgator hosting it showed this error Quote Link to comment https://forums.phpfreaks.com/topic/140333-fsockopen-problem/ Share on other sites More sharing options...
ratcateme Posted January 10, 2009 Share Posted January 10, 2009 looks like maybe the IP of your hostgator server is being blocked? Scott. Quote Link to comment https://forums.phpfreaks.com/topic/140333-fsockopen-problem/#findComment-734339 Share on other sites More sharing options...
raimis100 Posted January 10, 2009 Author Share Posted January 10, 2009 nah, could not be Quote Link to comment https://forums.phpfreaks.com/topic/140333-fsockopen-problem/#findComment-734342 Share on other sites More sharing options...
ratcateme Posted January 10, 2009 Share Posted January 10, 2009 a quick google suggests that fsockopen is disabled on your server Scott. Quote Link to comment https://forums.phpfreaks.com/topic/140333-fsockopen-problem/#findComment-734352 Share on other sites More sharing options...
Rushyo Posted January 10, 2009 Share Posted January 10, 2009 allow_url_fopen is disabled. I'd say run phpinfo(); to look at your server's PHP settings, but I've used Hostgator and know they have it disabled. It poses a gigantic security risk, so any server host that has it enabled is reasonably idiotic. By the way, I would recommend you switch from Hostgator. They're rude, coniving and technically useless. Quote Link to comment https://forums.phpfreaks.com/topic/140333-fsockopen-problem/#findComment-734362 Share on other sites More sharing options...
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.