Hi, thank you for contacting JustAnswer.com. My name is Russell. I will do my best to provide the right answer to your question.
The first thing to check in such a case is the firewall, whether it has a rule in it, granting permission to the rsh to communicate with internet and/or with the destination machine's IP Address or IP Address range (which last, covers internal or within-LAN uses of rsh.)
Given that this is run on Windows, the firewall at the Windows level would need checking.
(And also the machine's permissions at the other end - it has to allow the connection! and some do not, very definitely do not.)
Let me know what you think, and I will work with you on this.
I admit that sounds as if it should work.
But, what platform is it being used on / running on?