Unable to connect mac from remote using telnet
Apparently, I was using an unstable version of Symantec antivirus which blocked many incoming connections as well as the airdrop feature in mac. I downgraded it, which solved the problem.