I know it may sound stupid but anyway. Maybe there is a trick?
I just want that the local web server receives requests from my local machine but somehow sees a different IP address? Even one single that is different from the infamous 127.0.0.1 would of a great assistance.
Are there any options available?
Try
127.0.0.2or127.0.0.3... or ...Seriously, try it!
Depending on your operating system,
localhostmight be reachable via the entire127.0.0.0/8network, so even127.42.37.254would reachlocalhost(it does on my Ubuntu machine).