我無法啓動8080上的rabbitmq。我該怎麼做?我也無法在ubuntu上找到rabbitmq.conf。請在此幫助我。通過使用以下命令如何在端口8080上啓動rabbitmq服務器
Exception in thread "main" java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.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.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at com.rabbitmq.client.ConnectionFactory.createFrameHandler(ConnectionFactory.java:445)
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:504)
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:533)
at javaapplication3.rabbitchat.main(rabbitchat.java:26)
你是否在默認的5672端口的本地主機上啓動rabbitmq-server? – 2012-07-24 11:54:55
@MuhammadImranSaeed是的 – 2012-07-24 12:02:52