I created a simple Asp.net Web Api. When I run the code Chrome is opening and getting xml data from sql server database. Here is the link: http://localhost:50599/api/Menu/. And this my output: https://i.stack.imgur.com/hKeZd.png
But when I put my local address instead of "localhost" it gives me 400 error. My IIs is running. when I enter 127.0.0.1 or 192.168.1.104 or localhost IIS page is opening.
I did everything for opening 127.0.0.1:50599/api/menu or 192.168.1.104:50599/api/menu but error 400 apears. I changed
<binding protocol="http" bindingInformation="*:8080:localhost" />
to
<binding protocol="http" bindingInformation="*:8080:*" />
and it didnt work for me.
How can I solve this problem. If I can make this work I will access this Api from an android device.