You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to appfog...@googlegroups.com
Hi,
I try to connect to the RabbitMQ Service with my Java-Application hosted at the AppFog HP-Infrastructure. When I try to create a new connection I get the following error message:
java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at com.rabbitmq.client.ConnectionFactory.createFrameHandler(ConnectionFactory.java:4 at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:504) at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:533)
I am using the URL from the VCAP_SERVICES.
Thgis is how I create my connection m_factory = new ConnectionFactory(); m_factory.setUri(m_uri); m_connection = m_factory.newConnection();