Jump to content

fsockopen problem


raimis100

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/140333-fsockopen-problem/
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/140333-fsockopen-problem/#findComment-734362
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.