X Tutup
The Wayback Machine - https://web.archive.org/web/20201215060034/https://github.com/github/VisualStudio/issues/2554
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect to 127.0.0.1 instead of localhost #2554

Open
jcansdale opened this issue Sep 29, 2020 · 1 comment
Open

Redirect to 127.0.0.1 instead of localhost #2554

jcansdale opened this issue Sep 29, 2020 · 1 comment
Assignees

Comments

@jcansdale
Copy link
Collaborator

@jcansdale jcansdale commented Sep 29, 2020

Redirecting to 127.0.0.1 instead of localhost might fix the following:

  • Unable to connect to GitHub from VS2019 #2550

From #2550 (comment)

I disconnected from VPN !
I suppose the last step was the step that solved the problem... hopefully this will help others facing the same issue.

From https://stackoverflow.com/a/57756179

One problem might cause this kind of behavior. If you are connected to a corporate network by VPN, the VPN connection will change the search domain, for example, mycompany.corp.

On the other hand, some systems in the corporate network might register themselves as 'localhost.mycompany.corp' ( this should be a mistake ).

The result is localhost.mycompany.corp will now be resolved to a private IP like 10.xx.xx.xx, and when you tried to access http://localhost:4554/ , the request is sent to 10.xx.xx.xx port 4554, instead of the supposed 127.0.0.1 port 4544.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
@jcansdale and others
You can’t perform that action at this time.
X Tutup