-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
`