title: bitbucket Failed to connect
body: <p>I was developing an app and working on bitbucket which suddenly I got this message without knowing the reason behind.</p>
  <p>when I try to push, pull or even clone from the bitbucket</p>
  <blockquote>
  <p>fatal: unable to access 'https://bitbucket.org/xxxx/xxxx.git/': Failed to connect to localhost port 8081: Connection refused</p>
  </blockquote>
  <p>That what I did to try solve this issue</p>
  <ol>
  <li><p>try to ping the bitbucket.org and I got the Request timed out.</p>
  </li>
  <li><p>try to change the C:\Windows\System32\drivers\etc\hosts and adding</p>
  <pre><code>104.192.141.2 bitbucket.org
  </code></pre>
  <p>then when I try ping again work fine but the website of the bitbucket did not , just works when the</p>
  <pre><code>104.192.141.1 bitbucket.org
  </code></pre>
  <p>In this case the request does not work.</p>
  </li>
  <li><p>change the proxy using</p>
  <pre><code>git config --local http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
  </code></pre>
  <p>I have also tried use</p>
  <pre><code>git pull -4
  export GIT_CURL_VERBOSE=1 
  </code></pre>
  <p>but no difference</p>
  </li>
  </ol>
  <p>My git version is 2.32.0.windows.1</p>
  <p>I want to know the reason and how I can solve it.</p>