The telnet command in not installed by default anymore. So you can use this command below instead:
$ cat < /dev/tcp/192.168.0.1/23
Another way
$ nc -v portquiz.net 8080