title: Gitlab : Failed to connect to localhost port 3128: Connection refused
body: <p>I have just created a Gitlab account. And I wrote down the following command from my machine:</p>
  
  <pre><code>cd /var/www/projet
  git init
  git add .
  git commit -m "Initial commit"
  git remote add origin https://gitlab.com/Alain83/touslesport.git
  git push -u origin master
  </code></pre>
  
  <p>Everything is doing fine, exept for the last one, for which I get:</p>
  
  <blockquote>
    <p>fatal: unable to access '<a href="https://User:password@gitlab.com/Alain83/touslesport.git/" rel="nofollow noreferrer">https://User:password@gitlab.com/Alain83/touslesport.git/</a>': Failed to connect to localhost port 3128: Connection refused</p>
  </blockquote>
  
  <p>Whereas if I write <code>https://User:password@gitlab.com/Alain83/touslesport.git</code> as url in my browser, I can connect to my projet in Gitlab.</p>
  
  <p>Can anyone help me solving this problem?</p>