IOTstack
IOTstack copied to clipboard
Issue with networking between containers and ECONNREFUSE error message
I have installed the Container and tried to link NodeRed to Influxdb but get the following message. It seem reading arround the subject that each container has different internal 127. xxxxxxxx Ip address and not use 127.0.0.1 for all the containers is this correct. How can you link Node red to Influxdb?
msg : error "Error: connect ECONNREFUSED 127.0.0.1:8086"
MAny thanks for the code, But is this an error or planned arrangement.
Hi,
Please read this gist. It covers the network setup side of things in detail.
Basically, each container implements its own 127.0.0.1 so you can’t use that to talk between containers. You use the container name which doubles as a domain name.
Ok many thanks for your help . Simon
Sent from my iPhone
On 4 Apr 2020, at 01:16, Phill [email protected] wrote:
Hi,
Please read this gist. It covers the network setup side of things in detail.
Basically, each container implements its own 127.0.0.1 so you can’t use that to talk between containers. You use the container name which doubles as a domain name.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.