Saturday, March 3, 2012

Cannot connect to Gmail: Can't connect to gmail-pop.l.google.com,995: Connection timed out

If you get this error from your php script, then certainly it's not the issue with your php code. Its issue with your network. Possibly your apache is not allowing the php script to communicate the outside of network.

Cannot connect to Gmail: Can't connect to gmail-pop.l.google.com,995: Connection timed out

To resolve this issue, just connect to your server using SSH and enter the below command to disable SELinux.

setenforce 0

No comments:

Get function name programaticaly - Python

This little piece of code will help you to get the function name programatically. This is very helpful when you are implementing the debug...