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 trial

Development Tools HTTP Basics Introduction to HTTP HTTP Requests Using Telnet

Using nc for macOS Mojave: "HTTP/1.1 505 HTTP Version Not supported"

Using nc (netcat) on Mojave macOS > Terminal:

nc -v httpbin.org 80

"Connection to httpbin.org port 80 [tcp/http] succeeded!"

GET /xml HTTP/1.1

"HTTP/1.1 505 HTTP Version Not Supported"

Eden Gomez
Eden Gomez
22,787 Points

I got the same issue, can somebody please help?

1 Answer

Hrithik Sharma
Hrithik Sharma
6,090 Points

Did you quickly follow up with "Host: httpbin.org" I missed this then i got exact same error as you do

Hope it helps