Home >Database >Mysql Tutorial >How to access HTTP server using Telnet

How to access HTTP server using Telnet

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 15:50:201093browse

How to access HTTP server using Telnet 1、Telnet www.baidu.com 80 Type: Ctrl + ] //------------------------------------------------------------------------------- Type: Enter //--------------------------------------------------------------

How to access HTTP server using Telnet

 

1、Telnet www.baidu.com 80

 

Type : Ctrl + ]
//-------------------------------------------------------------------------------

Type : Enter

//-------------------------------------------------------------------------------

Input : GET / HTTP/1.1  
Type : Enter
Input : HOST:     
Type : Enter Enter

//-------------------------------------------------------------------------------
HTTP/1.1 200 OK
Date: Thu, 22 Oct 2009 02:09:34 GMT
Server: BWS/1.0
Content-Length: 3520
Content-Type: text/html;charset=gb2312
Cache-Control: private
Expires: Thu, 22 Oct 2009 02:09:34 GMT
Set-Cookie: BAIDUID=DEE7265CF1D01127B2546D43AE4DB87C:FG=1; expires=Thu, 22-Oct-3
9 02:09:34 GMT; path=/; domain=.baidu.com
P3P: CP=" OTI DSP COR IVA OUR IND COM "

tle>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn