explain
telnet installation
If the computer does not have brew reference: https://blog.csdn.net/zxh7770/article/details/121719521
- Install using the brew tool
brew install telnet
telnet tool use
- The ping command is to test whether the ip of the local machine and the remote machine can't communicate.
- The telnet tool can test whether the ports of the local machine and the remote machine are connected
The ping IP is 192.168.3.1, but it doesn't work
ping 192.168.3.1
Test whether port 8080 of the 192.168.3.1 machine is connected
telnet 192.168.3.1 8080