Start Appium server on Mac machine but eclipse and all code is on other windows machine

@Yosuva : If you are facing issue with telnet , then you can have a try with ssh.
Before doing any code related try

  1. Open mac and system properties and tick remote login
  2. open windows machine and install openssh and set path
  3. open cmd and try ssh root@hostIpaddress

IF you are able to do that then convert you code to sshClient. Take a help of below link