title: failed to create client: parse "http://127.0.0.1:8200": first path segment in URL cannot contain colon in Hashi-corp Vault
body: <p>I am getting below error when executing the following commands from <strong><em>windows</em></strong> using <strong>Hashi-Corp vault</strong>.</p>
  
  <blockquote>
    <p>failed to create client: parse "<a href="http://127.0.0.1:8200" rel="noreferrer">http://127.0.0.1:8200</a>": first path segment in URL cannot contain colon</p>
  </blockquote>
  
  <pre><code>C:\Softwares\vault_1.0.1_windows_amd64&gt;set VAULT_TOKEN="00000000-0000-0000-0000-000000000000"
  
  C:\Softwares\vault_1.0.1_windows_amd64&gt;set VAULT_ADDR="http://127.0.0.1:8200"
  
  C:\Softwares\vault_1.0.1_windows_amd64&gt;vault auth enable approle
  failed to create client: parse "http://127.0.0.1:8200": first path segment in URL cannot contain colon
  </code></pre>
  
  <p>If I don't set the environemnt variables, then I get the below error.</p>
  
  <pre><code>C:\Softwares\vault_1.0.1_windows_amd64&gt;vault auth enable approle
  Error enabling approle auth: Post https://127.0.0.1:8200/v1/sys/auth/approle: http: server gave HTTP response to HTTPS client 
  </code></pre>