VS2015 - Accessing Mobile Application

Asked

Viewed 175 times

0

Good morning!

I am creating an API for testing on VS2015.

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

If I provide a method from my browser, it works normally, for example: "localhost:32150/api/users"

In need to do this same GET by my application on mobile, I changed the file "applicationhost.config" and changed the tag Bindings, as instructed in other places. The same was true.

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

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

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

  • How are you trying to access? Android? and access through the Browser of the sky? sure?

  • Good morning @Paulohdsousa Both making a request . Android RESTTEMPLATE exchange, how much accessing by Browser I get Connection Timeout error

  • The door is clear in the Firewall?

  • Step 1 is to open at least in the Android browser... open at least on another computer on the same network?

  • Port is released @rubStackOverflow. Paulo, I currently do not have another Networked PC to test!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.