Can I specify a port in an entry in my /etc/hosts on OS X? [duplicate]

No, the hosts file is simply a way to statically resolve names when no DNS server is present.

Leave a Comment