UNSOLVED

davemalhotra

updated

18 years ago

0

6085

September 9th, 2008 11:00

Perl API problems - Can't connect to broker

I am trying to make a simple script using the Perl API. For some reason it will not connect to the broker. I get this error:

Can't connect to broker 'localhost:526', stopped at ./test.pl line 13

Note that I am running the broker on port 526. I know it is working because I can telnet to the port.

What could be the problem? Here is the session code:

$session = InCharge::session->new(
broker=>"localhost:526",

domain=>"INCHARGE-AM-PM",
username=>"admin",
password=>"changeme",
traceServer=>0

);

Any help is appreciated.

Dave