Installing the Telnet packageTelnet-client (or Telnet), this package provides a Telnet client program;Telnet-server software package, this is the real Telnet server package.1, first detect whether these packages have been installed[Email protected]
PHP simulates sending post requests using Telnet and fsockopen () to send post messages, Telnetfsockopen
Knowing the specifics of the HTTP header and URL information, we started to try to write a header message to the server. Windows built-in
Failure: Website cannot access analysis: Netstat-an See a large number of 80 port process zombie, restart Tomcat.tomcat failed to start, the webpage still cannot open. Stop Tomcat process shutdown.sh, stop Tomcat after Telnet 127.0.0.1 80, found
This is a practical tutorial that will give you a deeper understanding of the HTTP protocol, and therefore requires a certain HTTP base.Agreement: A provision that specifies how you should do it, such as the Internet Protocol that specifies how the
Here is just a description of how telnet (similar tools such as NC) can be detected.
Windows:
Start -- run -- cmd
(The preceding steps can be omitted in Linux)
Telnet in the command line, and then
...> Telnet wz.mygou.com 80
Open TCP connection port
Environment: Widows and Linux are all OK, but Windows does not work well. This article is based on Linux
Purpose: To understand the Application Layer protocol HTTP, manual method knocking protocol.
Once you have established a connection with Telnet,
Get
mode
1. Telnet 192.168.1.110 80, after connection.
2.
Windows Doc command line: Ctrl + '] ' keys enter input mode, then press ENTER to switch to explicit input mode (you can display the characters you enter)
The Linux command line does not
use Telnet to send HTTP requests for testing
In the daily work may send the HTTP request frequently to the server to test, if uses the specialized tool to appear inconvenient, also compared time consuming. And Telnet is one of the more convenient
1. Use Telnet to test HTTP protocol in command line windowHTTP messages are made up of plain ASCII text. The message includes the message header and the data body part. Message headers in units of behavior, each line with CRLF (carriage return and
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.