VS2015 - Accessing the Mobile Application

0

Good morning!

I'm creating an API for testing in VS2015.

When running the project, it uses the "localhost: 32150" address provided by IIS Express.

If I provide a method through my browser, it works normally, eg: "localhost: 32150 / api / users"

In need of doing this same GET through my mobile application, I changed the file "applicationhost.config" and changed the Bindings tag, as instructed elsewhere. It was like this.

<bindings>
   <binding protocol="http" bindingInformation="*:32150:*" />
</bindings>

Now, in the browser, if I access "myIP: 32150" and provide my method (api / users) it returns me the users.

However, when trying to make the same request through my mobile app (connected to the same computer network), I do not have access to the address.

    
asked by anonymous 08.01.2016 / 12:05

0 answers