rabbitmq - rabbitmqadmin ConnectionRefusedError Error 10061 -


i installed rabbitmq 3.6.9. java code works fine. can send message , recieve.

connectionfactory factory = new connectionfactory();         factory.sethost("**localhost**");         ..         channel.queuedeclare(queue_name, false, false, false, null);         string message = "hello world!";         channel.basicpublish("", queue_name, null, message.getbytes("utf-8"));  

but command line

python.exe rabbitmqadmin -v localhost list exchanges

i recieve error: connectionrefusederror: [winerror 10061].

i don't understand why? host "localhost". do need additional configuration?


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -