Connection refused while executing nc gw01.itversity.com 44444

In Big Data Lab Console,

I exeuted
[digambarmishra@gw01 ~]$ nc gw01.itversity.com 44444
Ncat: Connection refused.
[digambarmishra@gw01 ~]$

I am getting connection refused error.

If you are trying to work on Flume and get “connection refused” for nc gw01.itversity.com 44444 try this…

nc -lk 44444
Dont mention the ip address.