How to access HTTP server using Telnet

WBOY
Release: 2016-06-07 15:50:20
Original
1023 people have browsed it

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、Telnetwww.baidu.com80

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>
Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!