0
i have a problem with telnet in cmd. i write this command in cmd:
telnet cis.poly.edu 80
then i hit enter twice. at this time a blank screen appears but i can not type anything in this window. if i type anything and then hit enter, 400 bad request error will be appeared. at this time i want to write
GET / HTTP/1.1
Host: cis.poly.edu
but i can not write anything. even the cursor does not move when i type.
What happens if you type what you want to type - your GET request - without seeing it? (I have tested locally with telnet and get a 200 response, FWIW) – bertieb – 2019-01-26T14:10:42.803
when i press any key at this time, it gets back to the cmd prompt. sometimes when i type anything and before it goes back to cmd prompt, i hit enter, 400 bad request appears. – sadegh yeganeh zadeh – 2019-01-26T14:19:54.020
why can not i write anything in this blank screen? – sadegh yeganeh zadeh – 2019-01-26T14:26:25.883
Are you specifying 80 and is this correct? Normally telnet uses 23. – lx07 – 2019-01-26T14:29:11.750
yes it is correct. its my book's practice. – sadegh yeganeh zadeh – 2019-01-26T14:31:27.633
Your book should mention that you need to be in "old line mode" and need to set "local echo" on by typing a single CTRL+E. – Hannu – 2019-01-27T18:53:36.443