Telnet connection refused


I’m trying following command on Gateway:
[fazilimubashir@gw01 tmp]$ telnet localhost 44444
telnet: connect to address Connection refused

My aim was to setup a NetCat source for the purpose of playing with Flume.

Please help.



Did you start flume agent?
Example command: bin/flume-ng agent --conf conf --conf-file example.conf --name a1 -Dflume.root.logger=INFO,console


Thanks. Yes, I had flume agent running. But not sure how my issue (telnet connection being refused) can be connected to flume agent running or now??