Fluentd error { [Error: connect ECONNREFUSED 192.168.56.20:24224]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect',
address: '192.168.56.20',
port: 24224 }
Fluentd will reconnect after 600 seconds
//Following is the sample code I used
var logger = require('fluent-logger')
// The 2nd argument can be omitted. Here is a default value for options.
logger.configure('tag_prefix', {
host: '192.168.56.20',
port: 24224,
timeout: 3.0,
reconnectInterval: 600000 // 10 minutes
});
// send an event record with 'tag.label'
logger.emit('label', {record: 'this is a log'});
Note: In the same VM I had already installed redis and mongodb containers which I am able to connect to successfully from a separate node.js app which is also running on my mac.
Could this be the VM binding issue (if so then why redis and mongodb connections are working fine). Can anyone please help in identifying what's missing here.
Another quick question: is there any way I can test the connection to Fluentd using any cli tool instead of using the code?
Thanks much!
Regards,
-Sam
--
You received this message because you are subscribed to the Google Groups "Fluentd Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+u...@googlegroups.com.