I see your point, but the server will redirect to this IP (127.50.100.1) and not the localhost as such. So, for /etc/hosts to work we should eventually do a reverse lookup for this IP to forward the requests to the local HTTP server. I am not very sure if this is something possible as well.
Topic:
Programming Languages
SubTopic:
Swift
Tags: