build environment
The premise is to open the telnet service in win7
Please refer to the opening method: http://jingyan.baidu.com/article/870c6fc3cd6fa9b03fe4bee4.html
Open Telnet service
Simulate get request, visit Baidu page
1. Open a command prompt and enter:
telnet 10.99.1.52 8080
2. Press ctrl+] to open the echo function (easy to view the characters you entered)
3. Press the Enter key to enter the command input interface
4. Enter
GET /index.jsp HTTP/1.1
connection: close
Host: 10.99.1.52:8080
Press Enter 2 times