The community will be in read-only from Monday 11:59pm (PT) to Wednesday 7:30am (PT)
The community will be in read-only from Monday 11:59pm (PT) to Wednesday 7:30am (PT)
Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to connect to host

Highlighted
Thomasmaria
Acclaimed Contributor

Unable to connect to host

Hi,

I have written small client API Call
ApiSDSession session = null;
session=
ApiSDSession.openSession("serername","username","Password");

Result
Unable to connect to host: :30999

Investigation
a)telnet 30999

Result
Connecting To ...Could not open connection to the
host, on port 30999: Connect failed



1 REPLY
The Pike
Honored Contributor

Re: Unable to connect to host

You need to solve the basic network connectivity problem first. Evidently if you cannot connect via telnet, you are either using the wrong port, or communication on that port is closed.
//Add this to "OnDomLoad" event