S
S
Slasherr2017-04-24 21:51:44
Windows
Slasherr, 2017-04-24 21:51:44

What is the problem with telnet??

Hello. I try to zayuzat telnet, but it is impossible.
I enter everything correctly >> telnet google.com 80
It shows me an error 400 (Bad request). What's the problem??
45dd45104bee4beb97c67725fddeeb75.png5759f949846c4ff1b7619f02a63af001.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yuri Chudnovsky, 2017-04-25
@Slasherr

I think you're getting 400 because you're sending the wrong HTTP request, like just pressing Enter (sending an empty command).

S
Saboteur, 2017-04-25
@saboteur_kiev

Everything works for me
telnet google.com 80
GET
I get:

HTTP/1.0 302 Found                                                                                                                                    00:22Cache-Control: private
Content-Type: text/html; charset=UTF-8
Referrer-Policy: no-referrer
Location: http://www.google.com.ua/?gfe_rd=cr&ei=gWz-WJaQCOmv8wephqjgDQ
Content-Length: 262
Date: Mon, 24 Apr 2017 21:22:09 GMT

<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
                                                                              <TITLE>302 Moved</TITLE></HEAD><BODY>
                                                                                                                   <H1>302 Moved</H1>
                                                                                                                                     The document has moved

<A HREF="http://www.google.com.ua/?gfe_rd=cr&amp;ei=gWz-WJaQCOmv8wephqjgDQ">here</A>.
</BODY></HTML>


Connection to host lost.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question