rabbitmq 從3.3開始禁止非localhost登錄,官網查詢可通過配置rabbitmq.config / rabbitmq.cof 來允許遠程登錄
但是沒有找到這個配置文件,官網指導說手動創建這個文件,但是不知道如何通過環境變量指向這個配置文件
官網提示:To override the main RabbitMQ config file location, use the RABBITMQ_CONFIG_FILE environment variable. Use .conf as file extension for the new style config format.
百度后發現可以修改rabbit.app中的配置,可行