Another simple web service question

  • Thread starter Thread starter Balint Toth
  • Start date Start date
B

Balint Toth

I made a web service. It works fine. I go an IIS on my desktop computer, and
the client app on my mobile device. The comp. and the mobile is connected
with an USB cable. The computer is connected the the internet, and in the
webservice I use the IP of my computer.

My question is: if I disconnect the computer from internet, how can I make
connection between the mobile and computer (how can I set up a pseudo ip for
my computer)? (if the client is on the desktop computer I simply use
http://localhost, but in this case this doesnt work)
 
You can install the Microsoft Loopback adapter (available on the Windows CD,
just do "Add new hardware" and specify the hardware to install) and then
give your computer a fixed IP address. Be careful as this can cause some
issues when you re-connect to a network. Make sure that you disable the
loopback adapter when you re-connect.

Nick Randolph
 
Back
Top