I prefer IP over DNS where possible. So I always use 127.0.0.1 instead of localhost.
As mentioned in the other Thread: DNS is dangerous, broken and not reliable.
As mentioned in the other Thread: DNS is dangerous, broken and not reliable.