Hacker News new | ask | show | jobs
by hkjhreiou 2409 days ago
So just use a domain name instead of an IP address, like everyone else.
1 comments

So, how does a DNS entry to 10.0.2.2 help to be reachable?
Assuming it is not trolling. Every time you get new IP from the ISP, you update DNS record for that domain. And browsers can connect to it to the exposed 80/443 port.
I believe GP's point is that some providers don't provide a publicly routable ip address.
Ah, haven't experience such thing yet. But if such thing happens, indeed it becomes way more complicated.