2017-10-24 13 views
-2

RabbitMQは、Linux Linuxを実行するラップトップにRabbitMQを設定したwifiネットワークで正常に動作します。私は別の無線LANネットワークで同じラップトップを使用する場合しかし、私は次のエラーを取得する:RabbitMQ in Go:機械ワーカーは0.0.0.0:5672にメッセージgetsockoptで接続できません:接続が拒否されました

machinery: worker.go:42: Going to retry launching the worker. Error: Dial: dial tcp 0.0.0.0:5672: getsockopt: connection refused 
machinery: retry.go:20: Retrying in x seconds 

私はRabbitMQの1つのネットワークではなく、他の中で働く理由として見当もつかない。私は/etc/rabbitmq/rabbitmq-env.confのURLを変更しようとしましたが効果はありません。

sudo systemctl status rabbitmq 

、私はメッセージを得た:私は使用してステータスをチェックし、 `

machinery: worker.go:27: Launching a worker with the following settings: 
machinery: worker.go:28: - Broker: amqp://0.0.0.0:5672 
machinery: worker.go:29: - ResultBackend: amqp://0.0.0.0:5672 
machinery: worker.go:30: - Exchange: machinery_exchange 
machinery: worker.go:31: - ExchangeType: direct 
machinery: worker.go:32: - DefaultQueue: machinery_tasks 
machinery: worker.go:33: - BindingKey: machinery_key 

`

答えて

-2

まず:ここ

はRabbitMQのからの最初の端子出力である

ERROR: epmd error for host "yourhostname": timeout (timed out establishing tcp connection) 

はその後、私は/etc/hostsに次のエントリをaddeded:

127.0.0.1 yourhostname.localgroup yourhostname 

その後、私が使用してのRabbitMQを再起動:

sudo systemctl restart rabbitmq 

私は/etc/rabbitmq/rabbitmq-env.conf

で任意の設定を変更していません
関連する問題