Issues in launching appium server

I have been trying to set up appium with a couple of android devices on my RHEL box. Installation is complete and I use the following to launch the appium instance for a device.

appium -U xxxxxxx -a -p 4725 -bp 4728 --no-reset

I also have a Java class for handling ui elements where I initialize my Android Driver with the following

    DesiredCapabilities caps = new DesiredCapabilities();
    caps.setCapability("platformName", "Android");
    caps.setCapability("deviceName", "Device");
    caps.setCapability("platformVersion", "5.0");
    caps.setCapability("udid", "xxxxxxx");
    caps.setCapability("appPackage", testAppPkg);
    caps.setCapability("appActivity", activityName);

   driver = new AndroidDriver(new URL(""), caps);

But on every run, the initialization fails with the following:

 [exec]    Unhandled error: Error: connect ECONNREFUSED
 [exec]     at Object.exports._errnoException (util.js:874:11)
 [exec]     at exports._exceptionWithHostPort (util.js:897:20)

When I try to telnet the port locally using

$telnet localhost 4728

it fails with

telnet: connect to address Connection refused
telnet: Unable to connect to remote host: Connection refused

Is the bootstrap port opened on the device or the host itself. If it is on the host itself, why is appium server not opening (or not being able to open) the port ? Can anyone please help with root causing the issue ? Am I doing something wrong in the initialization ?

The bootstrap port is used for the device-side, not the host side. From your Appium launch command, Appium should be listening on host-side port 4725.

Is there any way to verify if the port is opened correctly ? Should telnet work fine with the bootstrap port ?