Normally ActiveMQ's Jetty HTTP server is listening on 8161, but the listener used for JMS TCP connections is on another port - typically 61616 although this is configurable. Hope that helps.
Bruce Dodson ________________________________ From: Art Licis <[email protected]> Sent: Thursday, December 14, 2017 1:43:08 AM To: [email protected] Subject: Re: Not getting remote activemq server connection. Try removing slash sign (/) at the end, so that it's "tcp://192.168.xx.xx:8161", not "tcp://192.168.xx.xx:8161/". - Art On Thu, Dec 14, 2017 at 8:58 AM, Venkat07 <[email protected]> wrote: > Hi, > > I have used the one colon only, i typed wrong. > > Still i am getting same issue and my code is like, > > ConnectionFactory connectionFactory = new > ActiveMQConnectionFactory("tcp://192.168.xx.xx:8161/"); > Connection connection = connectionFactory.createConnection(); > connection.start(); > > > Warning like, > > [main] WARN org.apache.activemq.transport.tcp.TcpTransportFactory - path > isn't a valid local location for TcpTransport to use > ActiveMQConnection > {id=ID:DESKTOP-HI7JQDK-61855-1513234656230-1:1,clientId= > null,started=false} > > > > Thanks, > Venkat. > > > > > -- > Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev- > f2368404.html >
