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

LocalServerCodeReceiver.cs uses 127.0.0.1, which breaks non-admin Windows 7 & 8.1 clients #1055

Closed
chrisdunelm opened this issue Jul 14, 2017 · 1 comment · Fixed by #1063
Assignees
Labels
priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Milestone

Comments

@chrisdunelm
Copy link
Contributor

As reported by @aluxnimm in #987:
This change seems to break Windows 7 and 8.1 clients without admin privileges since HttpListener gets Access Denied for everything except localhost and 127.0.0.1 is only working in Windows 10, see discussion here https://stackoverflow.com/questions/4019466/httplistener-access-denied

We could try "localhost" and fallback to "127.0.0.1" if the HttpListenerException is thrown.

@chrisdunelm chrisdunelm added priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Jul 14, 2017
@chrisdunelm
Copy link
Contributor Author

Wrong way round. It should try "127.0.0.1" first, then "localhost".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant