We are trying out some cors validations. So I am currently running a ASP.NET Web API on my own machine and I can do a call to a controller which simply returns true when going to the following address
https://localhost:44387/api/Server/ServerCheck
But now I'd like to invoke the ServerCheck method by going to the IP address. a ipconfig command on my windows says it is the following:
But if I now go to
Then a bad request is returned
Isn't the IPv4 address exactly the same destination as simply going to localhost? How could I go to my web server with entering a static address such that we can try to access the server from a different machine