title: Jenkins Git Plugin: Failed to connect to repository, returned status code 128
body: <p>I'm attempting to clone a remote GitHub enterprise repository and am running into the following error after adding my remote repo's URL to the <a href="https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin" rel="noreferrer">Git Plugin</a> in my Jenkins configuration:</p>
  
  <pre><code>hudson.plugins.git.GitException: Command "/usr/bin/git -c askpass=true fetch --tags --progress https://github.com/myUsername/myProject.git  refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: fatal: unable to access https://github.myOrg.com/myUsername/myProject.git/': Failed to connect to github.com port 443: Operation timed out    at... 
  </code></pre>
  
  <p><strong>Configuration details &amp; things I have tried:</strong></p>
  
  <ul>
  <li>Jenkins URL is at default of <a href="http://localhost:8080/" rel="noreferrer">http://localhost:8080/</a> 
  (Getting the warning: "Please set a valid host name, instead of localhost")</li>
  <li>All dependencies listed have been installed for the <a href="https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin" rel="noreferrer">Git Plugin</a></li>
  <li>I have added git credentials for authorization to my organization's remote repo</li>
  <li>I tried to add my personal (non-enterprise git account) credentials &amp; repo to the plugin with the same result</li>
  <li>I have set my "Path to Git executable" to both 'git' and '/usr/bin/git' </li>
  <li>I can connect to Git both through the command line and in the browser</li>
  </ul>
  
  <p><strong>Questions:</strong></p>
  
  <ul>
  <li>Am I somehow supposed to provide authentication (ssh keys) just for Jenkins to use/clone my remote repo?</li>
  <li>Why does Jenkins throw a warning for leaving the default URL? Does this mean I need to 'put' Jenkins somewhere other than my local machine?</li>
  </ul>
  
  <p>I have been troubleshooting this for a few days now and am unsure of what my problem(s) are at this point! Please help!!</p>