|
|||
|
Warning: fsockopen(): unable to connect to
Hello,
None of my users (including a few of my own sites) have the right to open a connection (fsockopen) to another server. "Warning: fsockopen(): unable to connect to *** " Why is this? |
|
|||
|
Hi,
This probably is caused by your firewall configuration.You may need to allow both incoming and outgoing access for the ip and/or the port number you wish to connect to. We had similar issues before and have solved them this way.Hope it helps. Thanks
__________________
Brain Hosting, Inc. Exceeding Your Expectations Visit us at www.brainhosting.com |
|
|||
|
Quote:
It has to do something with PHP, just can't figure it out? Wieger. |
|
|||
|
From the PHP manual (http://pl2.php.net/manual/en/function.fsockopen.php):
Quote:
PHP Code:
|
|
|||
|
Quote:
|
|
|||
|
I suppose if you've exhausted all of the options presented here and you're still unable to resolve the problem, all I could suggest would be:
1. Thoroughly search the forums in case there is a thread on this that you missed 2. Use Google or some other search engine to hunt for solutions 3. Contact your data center for support 4. Hire someone if you're unable to resolve the issue yourself |
![]() |
| Thread Tools | |
| Display Modes | |
|
|