It’s starting to sound if there’s something on your system, whether in the hosts file or by an application that is rewriting the meaning of “localhost” on your system. I deliberately stopped gaining more windows knowledge a number of years ago, so my knowledge is outdated and you’re better off getting help from others here, but that’s an option I would suggest figuring out.