https://stackoverflow.com/questions/8652948/using-port-number-in-windows-host-file
I managed to achieve this by using Windows builtin networking tool netsh.
As Mat points out: The hosts file is for hostname resolution only, so a combination of the two did the trick for me. Example Overview
example.app:80 | <--Link by Hosts File