Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tristan957
on Jan 23, 2024
|
parent
|
context
|
favorite
| on:
Tell HN: Hacker News now supports IPv6
Firefox will open this.
http://[2606:7100:1:67::26]/
sitzkrieg
on Jan 23, 2024
[–]
i stand corrected, this is good news thank you
tristan957
on Jan 23, 2024
|
parent
[–]
I'm curious why we need the square brackets.
Dagger2
on Jan 23, 2024
|
root
|
parent
|
next
[–]
URLs use : to separate the IP and port. There needs to be some way to disambiguate that from the colons in the address.
tristan957
on Jan 24, 2024
|
root
|
parent
|
next
[–]
But if a URL has more than one colon, can't you assume is an IPv6 address?
Dagger2
on Jan 24, 2024
|
root
|
parent
|
next
[–]
You can't tell if there's a port or not, e.g.
http://2001:db8::1:8080/
. Is that 2001:db8::1 or 2001:db8::1:8080?
patmorgan23
on Jan 24, 2024
|
root
|
parent
|
prev
[–]
To disambiguate between the IP and port numbers
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: