RabbitMQ Connectivity Problem

RabbitMQ Connectivity Problem

After following the single server configuration from https://software.intel.com/en-us/articles/intel-collaboration-suite-for-webrtc I get RabbitMQ connectivity error.

I even installed rabbitMQ myself (because the installation guide does not talk about installing rabbit mq), however I still get below error.

What could be wrong ? 

2018-12-04 22:01:40.901  - INFO: AmqpClient - Connection to rabbitMQ server error { Error: connect ECONNREFUSED 127.0.0.1:5672

    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)

  errno: 'ECONNREFUSED',

  code: 'ECONNREFUSED',

  syscall: 'connect',

  address: '127.0.0.1',

  port: 5672 }

 

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

ubuntu:

#hostname  localhost

#vi /etc/hosts

add

"127.0.0.1       localhost"

then restart rabbitmq 

#sudo /etc/init.d/rabbitmq-server restart

 

 

 

 

Did you install rabbitmq in a second device than where mcu modules are running? If so, you need to enable remote access in rabbitmq config as in https://www.rabbitmq.com/access-control.html :

This is configured via the loopback_users item in the configuration file.

If you wish to allow the guest user to connect from a remote host, you should set the loopback_users configuration to none. A complete RabbitMQ config file which does this would look like:

loopback_users = none

Or, in the classic config file format (rabbitmq.config):

[{rabbit, [{loopback_users, []}]}].

 

Leave a Comment

Please sign in to add a comment. Not a member? Join today