1. First enable telnet
2. Problems encountered :
First, use win+r to open cmd , then enter telnet to enter telnet, and then enter telnet www.hit.edu.cn 80 (I thought it would be connected, but the result was [invalid command]. need help…】
This is not a problem with telnet. In fact, you should directly enter telnet www.hit.edu.cn 80 in cmd to display Connecting.
But you can actually connect after entering telnet. The steps are:
① Press o to enter, and then enter the website port, as shown in the figure below:
② Press enter to enter the input box;
③ Press ctrl + ] to exit, the result is:
Welcome to Microsoft Telnet Client
Escape character is "CTRL + ]"
Microsoft Telnet>
④ Then press enter to enter the input box, enter
<GET /index.html HTTP/1.1
Host:www.hit.edu.cn