How can I get telnet on my macbook pro with High Sierra [duplicate]

Telnet is not available on High Sierra. I don't have the option to copy the telnet source folder from another mac and I'm wondering where/how I can get a legitimate copy of telnet.

Edit I'm looking for a copy from a source outside of homebrew or macports


I searched through Apple support forums and found an answer that I believe will help others reinstall ftp and telnet on Mac High Sierra.

Navigate to www.gnu.org/software/inetutils/ Click on the HTTP download link for "Inetutils" Download "inetutils-1.9.4.tar.gz" tar zxvf inetutils-1.9.4.tar.gz

Direct ftp site -> http://ftp.gnu.org/gnu/inetutils/

cd inetutils-1.9.4
./configure
make
sudo make install

telnet x.x.x.x port

I found the answer at this forum https://forums.developer.apple.com/thread/79056