Dear all, I tried the socketTextStream to receive message from a port, similar to WordCount example, using socketTextStream(host, ip.toInt, StorageLevel.MEMORY_AND_DISK_SER)…
The problem is that I can only receive messages typed from “nc –lk [port no.] from my localhost, while the messages sent from other host to that port were ignored. I can see all messages from “nc –l [port no.]", why such thing could happen? Best regards, Cui Lin