[rabbitmq-discuss] Connection timed out when connecting to remote rabbitmq server using rabbitmq client library

kiraneha kiraneha at gmail.com
Tue Jul 23 13:53:46 BST 2013


Hi,

I have modified the rabbitmq client api for use. It works fine when I try to
connect to my local rabbitmq server in 192 series IP. But I am getting this
error when I am trying to connect to another linux machine of 10 series IP
using the same code.

java.net.ConnectException: Connection timed out: connect
	at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
	at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
	at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
	at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
	at java.net.Socket.connect(Socket.java:579)
	at
com.rabbitmq.client.ConnectionFactory.createFrameHandler(ConnectionFactory.java:514)
	at
com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:608)
	at
com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:696)
	at controllers.MQConnectionPOC.createQueue(MQConnectionPOC.java:56)
	at controllers.Application.main(Application.java:22)


Kindly Help....




--
View this message in context: http://rabbitmq.1065348.n5.nabble.com/Connection-timed-out-when-connecting-to-remote-rabbitmq-server-using-rabbitmq-client-library-tp28291.html
Sent from the RabbitMQ mailing list archive at Nabble.com.


More information about the rabbitmq-discuss mailing list