How can I specify IP and ports for a hostname in the Windows hosts file?

Posted by SIA on Super User See other posts from Super User or by SIA
Published on 2010-02-21T18:39:26Z Indexed on 2010/03/25 1:13 UTC
Read the original article Hit count: 395

Filed under:
|
|

I want to specify host names with two different ports in the Windows host file.

Is there a way to do it? Or is it not allowed by Windows itself?

I have been wasting my time searching for the solution for the last 8 hours.

Is it possible to specify ports in the host file, hosts? E.g.: 127.0.0.1:80 and 127.0.0.1:9211

© Super User or respective owner

Related posts about Windows

Related posts about localhost