I am trying to invoke REST services hosted on IS. I am using ‘Bookstore’ as sample application.
Application is working perfectly in Phoney but when I install that application on Android emulator and run it. I am not able to connect to IS server. IS is hosted on my local machine. I tried connecting using machine name and with IP address but no luck.
I got error message as per screen shot.
I am using ‘ddms’ as debugger tool in android emulator. I got a message ‘02-26 01:08:26.292: D/SntpClient(66): request time failed: java.net.SocketException: Address family not supported by protocol’
Same error I am getting when I am deploying it on my cell phone.
I changed the IS port it worked fine on android emulator but when I installed that application on my cell phone which is Android based, I was not able to access IS from my cell phone. I am sure, I am missing some configuration to access IS from my cell phone.
If I recall correctly, Willem had a similar problem recently with testing an Android device against a local IS via WiFi, and it turned out to be Windows Firewall blocking the communication to the Android device. Could the problem be similar at your end?