title: Composer cannot connect to internet (github)
body: <p>Im trying to update composer and install new project but composer could not connect to internet. getting error "The </p>
  
  <pre><code>"https://getcomposer.org/versions" file could not be downloaded: failed  
     to open stream: Connection timed out "
  </code></pre>
  
  <p>OS : ubuntu 16.04</p>
  
  <p>Screenshot:
  <a href="https://i.stack.imgur.com/AQXB5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AQXB5.png" alt="enter image description here"></a></p>