You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IPv6 works.
Just start server with arguments like ./code-server -h :: -p 8080 -H -P password
Where is :: like 0.0.0.0 but for IPv6.
Now you can open Code-server in Chrome by IPv6 address like http://[2022:1111:1111:1111:1111:1111:1111:1111]:8080/ (Change it to your IPv6).
With other browsers (Firefox and Edge) here is small bug #739
But I fond workaround: just add DNS AAAA record and it will work with any browser.
Personally I use https://www.dynu.com/ and set IP with cron job:
# m h dom mon dow command
* * * * * /usr/bin/curl 'https://api.dynu.com/nic/update?hostname=MY.DOMAN.NAME&alias=ALIAS&myip=no&myipv6=yes&password=MYDYNUPASSWORD'
Activity
pokemonlover1234 commentedon Mar 15, 2019
I'd say support ipv6 even if ipv4 doesnt die
nol166 commentedon Mar 21, 2019
I agree this would be pretty neat
delfer commentedon Jun 2, 2019
IPv6 works.
Just start server with arguments like
./code-server -h :: -p 8080 -H -P passwordWhere is
::like0.0.0.0but for IPv6.Now you can open Code-server in Chrome by IPv6 address like
http://[2022:1111:1111:1111:1111:1111:1111:1111]:8080/(Change it to your IPv6).With other browsers (Firefox and Edge) here is small bug #739
But I fond workaround: just add DNS AAAA record and it will work with any browser.
Personally I use https://www.dynu.com/ and set IP with cron job:
cxh1205 commentedon Nov 15, 2023
IPv6 and IPv4 both work.
Modify the file ~/.config/code-server/config.yaml:
Then you can enjoy accessing
http://ipv4-address:8080/andhttp://[ipv6-address]:8080/in your browser.IPv6和IPv4都可以正常工作。
修改~/.config/code-server/config.yaml文件:
然后在浏览器中输入
http://ipv4-address:8080/和http://[ipv6-address]:8080/即可访问。