Login  Register

Could not connect to netcat on SocketStreamWordCount example

classic Classic list List threaded Threaded
1 message Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Could not connect to netcat on SocketStreamWordCount example

Tay Zhen Shen

Hi,


As per guided by the Flink official page, i'm trying to run the SocketStreamWordCount example,

$ nc -l 9000
however,

after i run the netcat using the command, and i try to run 

bin/flink run examples/streaming/SocketWindowWordCount.jar --port 9000

the netcat console has return a statement : invalid connection to 127.0.0.1 from <unknown> 127.0.0.1 60335.

 

Does that mean that i cannot use netcat on Windows? If thats the case, what other alternative can i use? I'm using windows 10.


Thank you.


Tay