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

docserv-auxserver/docserv-minisrv: ListenAndServ binds only to one IP, preferred IPv4 #3

Open
thkukuk opened this issue Nov 4, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@thkukuk
Copy link
Owner

thkukuk commented Nov 4, 2022

http.ListenAndServe("localhost:XXXX", nil) will only bind to 127.0.0.1, not ::1.
See golang/go#9334 for details.

@thkukuk thkukuk self-assigned this Nov 4, 2022
@thkukuk thkukuk added the bug Something isn't working label Nov 4, 2022
@thkukuk
Copy link
Owner Author

thkukuk commented Nov 4, 2022

See https://go.dev/play/p/2IrtRqdGit for a possible solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant