Reg : error while running the netcat command with port 19999


#1

Hi there,
[maheshpathy@gw03 ~]$ nc -lk gw01.itversity.com 19999
Ncat: bind to 172.16.1.100:19999: Cannot assign requested address. QUITTING.

the above command fails…i already connected before when trying to test the NC connectivity. i closed that session and trying to open a new. but it doesnt work with the above error.
Kindly assist.
Thanks,
Maheshwari


#2

Since you are in gw03, try using nc -lk gw03.itversity.com 19999 and let us know


#3

#4

@vinodnerella,

I am also trying to connect to netcat for learning spark streaming, but I am not able to connect.

netcat%20not%20working%20properly

Also when I am typing the command as mentioned by you in email. The session is not returning any value.

nc -lk gw03.itversity.com 19999

Can you please help me with this so that I can finish the Spark streaming.