title: SMTP ERROR: Failed to connect to server: Connection timed out (110) in php
body: <p>I have a problem. I use phpmailer smtp gmail it works on localhost but when I upload that it is showing me these errors</p>
  
  <pre><code>SMTP ERROR: Failed to connect to server: Connection timed out (110)
  
  SMTP connect() failed.
  
  Mailer Error: SMTP connect() failed.
  </code></pre>
  
  <p>Any solution please. I am using phpmailer first time so I have no idea about it, thanks</p>