Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools HTTP Basics Introduction to HTTP HTTP Requests Using Telnet

HTTP version not supported

When I try to connect to httpbin.org I get a message that says the http version is not supported. I am on Windows 10 Pro. The message says:

HTTP/1.1 505 HTTP Version Not Supported Connection: Close Server: Cowboy Date: Current date and time Content-Length: 0

Connection to host lost.

1 Answer

I got it to work but I wanted to share what happened in case anyone else ran into this issue. I kept getting conflicting sounding answers on some of the others.

  1. First I opened Command Prompt as an admin. In Windows you can do this by opening the start menu, typing cmd, right-click on the result, and select "Run as Administrator"
  2. I typed "telnet httpbin.org 80" as shown in the video
  3. I then pressed enter
  4. The screen will go blank. This is what threw me off because his does not go blank, and he is able to see what he types next as a result. You will have to type blind. Go ahead and type quickly: GET / HTTP/1.1
  5. Press enter once.
  6. Type immediately after pressing enter: Host: httpbin.org
  7. Press enter twice after that.

You should get a long stream of text as shown in the video and then be ready to continue.