title: nuget restore error NU1301: Unable to load the service index for source https://www.nuget.org/api/v3/index.json
body: <p>When I run dotnet restore --interactive
  It kept sending this error.
  error NU1301: Unable to load the service index for source <a href="https://www.nuget.org/api/v3/index.json" rel="nofollow noreferrer">https://www.nuget.org/api/v3/index.json</a></p>
  <p>But when I checked out my source confugration in Nuget management, it is <a href="https://api.nuget.org/api/v3/index.json" rel="nofollow noreferrer">https://api.nuget.org/api/v3/index.json</a> and it can be opened through browser.</p>
  <p>How can I change that url to the correct one?</p>
  <p>I can see in .nuget/nuget/nuget.Config the packageSource settings has the line with key=&quot;nuget.org&quot; value=&quot;https://api.nuget.org/v3/index.json&quot;  protocalVersion=&quot;3&quot;.</p>
  <p>But when I go restore nuget packages, it is still hitting <a href="https://www.nuget.org/api/v3/index.json" rel="nofollow noreferrer">https://www.nuget.org/api/v3/index.json</a>. Why? Are there any other files I missed to change?</p>
  <p>Any help is appreciated.</p>