Chinaunix首页 | 论坛 | 博客
  • 博客访问: 274716
  • 博文数量: 80
  • 博客积分: 2269
  • 博客等级: 大尉
  • 技术积分: 836
  • 用 户 组: 普通用户
  • 注册时间: 2009-09-09 11:07
文章分类

全部博文(80)

文章存档

2016年(1)

2013年(8)

2012年(23)

2011年(21)

2010年(21)

2009年(6)

我的朋友

分类:

2010-10-19 10:17:19

Keyword: telnet http

用Telnet查看http服务器的内容,排查故障时使用。

You can see the HTTP (hypertext transfer protocol) header from a web site using the standard Telnet program that comes with Windows. For example, to see the header from the root page of the Microsoft web site, do these steps:

  1. Start a DOS command prompt
  2. From the command prompt type
    telnet  80
  3. Turn on localecho so you can see what you are doing.
    1. Type Ctrl+] (hold down the Ctrl key and press the right bracket)
    2. Type
      set localecho
    3. Press Enter on a blank line
  4. type
    GET / HTTP/1.1
    Host:
  5. Press Enter twice
阅读(886) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-10-19 16:09:07

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com