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
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
If the call fails, it will return FALSE and if the optional errno and errstr arguments are present they will be set to indicate the actual system level error that occurred in the system-level connect() call. If the value returned in errno is 0 and the function returned FALSE, it is an indication that the error occurred before the connect() call. This is most likely due to a problem initializing the socket. Note that the errno and errstr arguments will always be passed by reference.
Try specifying the optional paramaters errno and errstr and then print them afterwards. This should give you more specific errors which should aid the troubleshooting process.
Try specifying the optional paramaters errno and errstr and then print them afterwards. This should give you more specific errors which should aid the troubleshooting process.
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