error: Couldn't start Appium REST http interface listener. Requested address is not available.

1,615 views
Skip to first unread message

Alex Arkanov

unread,
Jan 2, 2014, 12:29:35 PM1/2/14
to appium-...@googlegroups.com
I have a bit of an issue running appium on a grid.

Everything was working fine, however as of today I started getting the error: Couldn't start Appium REST http interface listener. Requested address is not available.

the way i'm starting appium is with -U mydevice -a mylocalipaddress(not the localhost) -p 4724 --selendroid-port 8080 --nodeconfig nodeconfig.json

in my node config i have the following configurations:

{
  "capabilities":
      [
        {
          "browserName": "nexus",
          "device": "selendroid",
          "version":"",
          "maxInstances": 1,
          "platform":"ANDROID"
        }
      ],
  "configuration":
  {
    "cleanUpCycle":2000,
    "timeout":10000,
    "proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",    
    "maxSession": 1,
    "port": 4724,
    "host": "mylocalip",
    "register": true,
    "registerCycle": 5000,
    "hubPort": 4444,
    "hubHost": "mygridip(different from the local ip)"
  }
}

any input would be really appreciated.

Thank you,

Alex Arkanov

unread,
Jan 3, 2014, 9:44:16 AM1/3/14
to appium-...@googlegroups.com
its all working now,

had a few errors in my start up scripts and my code where the ip address was not defined properly.

Everything is working correctly now.

Kevin McGaire

unread,
Jan 14, 2014, 6:44:36 PM1/14/14
to appium-...@googlegroups.com
I'm getting the same error too. When I run my commands in Terminal everything works fine, however when I try to run them all through a Bash script I'm getting this error.
Maybe I have the same errors in the startup script?
Reply all
Reply to author
Forward
0 new messages