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! While you're at it, check out some resources Treehouse students have shared here.
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 trialmatthewgaikema
6,059 Points'telnet httpbin.org 80' not working
When I type telnet httpbin.org 80
, the command prompt goes blank until i press any key, where it tells me i made a bad request
10 Answers
Ksenia Breitenmoser
20,874 PointsGuys, did you hit Enter twice after Host: httpbin.org? I had the problem because I hit it only once as I was not attentive to the video.
Mairum Leal Ferreira
23,508 PointsThanks this helped for me. Was able to get it to work in workspaces. No luck in windows 10 in command promt though.
Ian Ostrom
Full Stack JavaScript Techdegree Student 10,332 PointsThis worked for me too. And in response to those who say it is not worth the effort to get Telnet working... we'd miss out on ASCII Star Wars. Type this to watch the film: telnet towel.blinkinlights.nl
Madeline Yao
Full Stack JavaScript Techdegree Student 9,611 PointsHello everyone, I experienced the similar problem like Matthew. When I typed telnet httpbin.org 80 into my computer, the screen went blank and I don't know why. Also, I typed GET/ HTTP/1.1 and Host: httpbin.org into the screen. The command prompt told me the connection is lost and I do not know why it happened. Could anyone please explain about it? Thank you!
Jason Ziegler
Full Stack JavaScript Techdegree Graduate 39,583 PointsHi, Madeline Yao, I experience the same issue on Windows 7.
From what I can tell researching, the blank screen is the connection screen. Once that blank screen appears you can hit CTRL+] and that will bring up a telnet screen. from here type in 'set Localecho' you will get a response saying local echo is on. Now hit enter. this will take you back to your connection. Now when you type you will see the characters.
Now here is where I am still stuck. I always get an error message here and the connection is lost.
Hope this helps.
Ron Collins
Courses Plus Student 344 PointsThis is outdated. Telenet doesn't work anymore like how he showed. Avoid this just learn and watch stuff no need live-action.
Javier Gandia
Full Stack JavaScript Techdegree Student 9,153 Pointsim having this same issue.. any fixes ?
ywang04
6,762 PointsAre you using MAC or WINDOWS? If windows, have you installed telnet already?
Michelle Pierce
4,959 PointsI had to try it a few times before it worked. I wasn't typing fast enough and sometimes I would have a typo because I was trying to type fast. I had to get used to it and now it works for me every time.
Mike Hatch
14,940 PointsThis was my experience, too. For everyone else having issues, take a look at what Michelle said. Keep trying.. Cntrl C out if you have to and try again. It eventually worked without having to install anything. I'm on Win 10 and used the Workspace.
Kimmo Ojala
Python Web Development Techdegree Student 8,257 PointsI have the same issue. I'm using Windows 10 cmd. Also tried to install another telnet tool called PUTTY, but it didn't open a connection to http.org 80 and neither to google.com 80.
Jason Donmoyer
Courses Plus Student 21,529 PointsIf you are running OS 10.13 or higher on a mac and using the Terminal, you will have to install Telnet. You will need to also install Homebrew first, then type 'brew install telnet' at the prompt.
muchindamuchinda
236 PointsI think you will have to type very fast. Just type it will return the response, experienced the same on Win 10 cmd.
Nikos Tzouvelekis
8,155 PointsHi everyone , if the telnet have not install the cmd says : is not recognized or something like this ... so the telnet with cmd of windows have some issues... try this from Linux or form workspace here (i have Ubuntu command line downloaded from app store for windows ) .. after that the httpbin.org has closed so try something else .. ex : telnet treehouse.com 80
:)
Roger Hwang
3,851 PointsDidn't he instruct us on Telnet 2 sections prior to this, so am wondering why suddenly talk about the issues here? Not sure if this will ever be used again but for the sake of this course? People use Postman these days.
Dawid Jacobs
Full Stack JavaScript Techdegree Graduate 17,835 PointsHi all, so from what I could gather, after connecting to telnet (when the blank screen appears). You should type the GET request and hit enter(Note it will not appear on the screen) afterwards type the Host line and hit enter twice. afterwards the correct information will show up on powershell, but it wil be all over the screen (not structured) so my advice is just to use the workspaces attached for the sake of learning telnet.
Sherrie Gossett
14,924 PointsSherrie Gossett
14,924 PointsHi Matthew: After typing in telnet httpbin.org 80, you should see:
Are you not seeing this yet/still? Perhaps you need to install Telnet.