Code-server: ipv6 support

Created on 15 Mar 2019  路  3Comments  路  Source: cdr/code-server

ipv4 is going to die. Let's support ipv6

enhancement

Most helpful comment

I'd say support ipv6 even if ipv4 doesnt die

All 3 comments

I'd say support ipv6 even if ipv4 doesnt die

I agree this would be pretty neat

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 https://github.com/cdr/code-server/issues/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'
Was this page helpful?
0 / 5 - 0 ratings

Related issues

Arsaev picture Arsaev  路  3Comments

tecosaur picture tecosaur  路  3Comments

pchecinski picture pchecinski  路  3Comments

oonqt picture oonqt  路  3Comments

pchecinski picture pchecinski  路  3Comments