# Not able to connect to IS

**URL:** <https://techcommunity.softwareag.com/t/not-able-to-connect-to-is/100389>\
**Category:** Forum\
**Tags:** mobile\
**Created:** [February 26, 2012, 1:21am UTC](https://techcommunity.softwareag.com/t/not-able-to-connect-to-is/100389 "2012-02-26T01:21:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sunny\_Bansal1](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@Sunny\_Bansal1](https://techcommunity.softwareag.com/u/Sunny_Bansal1)\
**Post date:** [February 26, 2012, 1:21am UTC](https://techcommunity.softwareag.com/t/not-able-to-connect-to-is/100389/1 "2012-02-26T01:21:21Z")

</div>

Hi,

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.

Any idea about this behaviour?

Regards  
Sunny

---

<div class="post-metadata">

**Author:** ![Dave\_Pemberton](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/dave_pemberton/32/317_2.png) [@Dave\_Pemberton](https://techcommunity.softwareag.com/u/Dave_Pemberton)\
**Post date:** [February 26, 2012, 2:17am UTC](https://techcommunity.softwareag.com/t/not-able-to-connect-to-is/100389/2 "2012-02-26T02:17:02Z")

</div>

The android emulator takes ports 5554 & 5555 (seemingly even if they’re in use.

Create another port in IS (e.g. 7777) and access on this port.

If the emulator is running, port 5555 will be inaccessible assuming default emulator settings are used.

Kind regards  
Dave

---

<div class="post-metadata">

**Author:** ![Sunny\_Bansal1](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@Sunny\_Bansal1](https://techcommunity.softwareag.com/u/Sunny_Bansal1)\
**Post date:** [February 27, 2012, 10:35pm UTC](https://techcommunity.softwareag.com/t/not-able-to-connect-to-is/100389/3 "2012-02-27T22:35:11Z")

</div>

Hi Dave,

Thanks a lot for your reply!

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.

Any help would be really appreciated.

Regards

Sunny

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [February 27, 2012, 11:03pm UTC](https://techcommunity.softwareag.com/t/not-able-to-connect-to-is/100389/4 "2012-02-27T23:03:29Z")

</div>

Hi sunny,

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?

Regards,

Nick.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [February 27, 2012, 11:12pm UTC](https://techcommunity.softwareag.com/t/not-able-to-connect-to-is/100389/5 "2012-02-27T23:12:33Z")

</div>

Yup, that was the one - turned off Windows firewall & then I could connect fine.

Regards

Willem

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:01pm UTC](https://techcommunity.softwareag.com/t/not-able-to-connect-to-is/100389/6 "2021-04-02T15:01:53Z")

</div>


