我在mac上用brew安装了rabbitmq。
(brew install rabbitmq)
添加到我的.bash_profile的导出路径
export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
添加了配置文件: 配置文件:/usr/local/etc/rabbitmq/rabbitmq.config
[{rabbit, [{tcp_listeners, [8080]}, {loopback_users, []}]}].
当我启动rabbitmq-server时,我在这里得到一个日志: /usr/local/var/log/rabbitmq/rabbit@localhost.log:
started TCP Listener on 127.0.0.1:5672
此外,我无法从其他客户端连接到服务器。
http://127.0.0.1:15672在本地工作,但不在其他客户端工作。 (401未经授权)
/usr/local/var/log/rabbitmq/rabbit@localhost.log:
=WARNING REPORT==== 31-Mar-2016::09:02:13 ===
HTTP access denied: user 'guest' - User can only log in via localhost