Skip to content

bind ipv6 address failed #1973

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

Closed
zccold opened this issue Aug 16, 2020 · 1 comment
Closed

bind ipv6 address failed #1973

zccold opened this issue Aug 16, 2020 · 1 comment

Comments

@zccold
Copy link

zccold commented Aug 16, 2020

try binding ipv6 address use "[::]:8080" and ":::8080" and failed.
What should I do to achieve what i want

zc@ubuntu-server ~                                                                                           [13:16:29]
> $ head -1 .config/code-server/config.yaml
bind-addr: "[::]:8080"
zc@ubuntu-server ~                                                                                           [13:16:29]
> $ code-server
info  Using config file ~/.config/code-server/config.yaml
info  Using user-data-dir ~/.local/share/code-server
info  code-server 3.4.1 48f7c2724827e526eeaa6c2c151c520f48a61259
error getaddrinfo ENOTFOUND [::]


zc@ubuntu-server ~                                                                                           [13:17:54]
> $ head -1 .config/code-server/config.yaml
bind-addr: ":::8080"
zc@ubuntu-server ~                                                                                           [13:17:59]
> $ code-server
info  Using config file ~/.config/code-server/config.yaml
info  Using user-data-dir ~/.local/share/code-server
error Invalid URL: http://:::8080
@code-asher
Copy link
Member

Thanks for reporting! Let's track this in #1582.

In the meantime you can use --host :: as a workaround.

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

No branches or pull requests

2 participants