Why Puma listen on ‘tcp://localhost:3000’ instead of ‘http://localhost:3000’

The HTTP protocol works on top of TCP, HTTP adds format to the raw TCP, so it kind of means the same thing. Given that Webrick and Puma are different HTTP servers, they may refer to the same thing in different ways. I hope this will be the worst of your problems during your journey with Rails! Enjoy!

Leave a Comment