I want to configure the Windows hosts file to send host requests based on IP address + ports.
127.0.0.1:80 www.site1.com 127.0.0.1:8080 www.sitetwo.com
Because I have Apache listening on port 8080 and IIS on port 80 (default).
So, I think the best way to do this is to modify the
hosts file. It's not affecting anything. Neither I am getting any error nor any message.