php - ActiveMQ Remote Broker -
i'm activemq - stomp php- beginner.
how can connect remote broker on stomp, producer in php. if connect broker on same machine this:
$stompcon = new stomp('tcp://localhost:61613'); $stompcon->connect(); $stompcon->send('/queue/notifications.test', $mapmessage); $stompcon->disconnect();
it connects ok, when try on external server like:
$stompcon = new stomp('tcp://181.61.50.8:61613',$user,$pass); $stompcon->connect(); $stompcon->send('/queue/notifications.test', $mapmessage); $stompcon->disconnect();
it doesn't connect. knows how can connect remote broker on machine?
error messsage:
internal server error
the server encountered internal error or misconfiguration , unable complete request.
please contact server administrator, webmaster , inform them of time error occurred, , might have done may have caused error.
more information error may available in server error log.
additionally, 500 internal server error error encountered while trying use errordocument handle request.
apache server @ port 80
Comments
Post a Comment