Using the hosts file, I can't do something like this:
127.0.0.1:8080 testing
Therefore I will have to write
127.0.0.1 testing
http://testing:8080
in order to do the same thing.
The problem is that I need to be able to access the IP without entering any port. Do I have any options to do such a thing?