Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8010551
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T18:46:10+00:00 2026-06-04T18:46:10+00:00

I made the basic blog demo from a rails tutorial in a book from

  • 0

I made the basic blog demo from a rails tutorial in a book from 2007. I realized it’s dated so I deleted the blog I made and began to redo it from a tutorial here: http://guides.rubyonrails.org/getting_started.html#creating-the-blog-application

I started from scratch and now I’m stuck on 4.3 on that link’s instructions because when I type in http://localhost:3000/ I keep getting the default screen for Rails instead of “Hello, Rails!” like the tut says I should.

The instructions on 4.3 are to type in

rm public/index.html

And then access the routes.rb file to uncomment the root to: section so that it says

root :to => "welcome#index"

I continued on with the migration and all that but I still keep getting the default screen.

Then I typed

rails server -d

to see if that does the trick but nope. It just says this only ending with the 2nd =>:

blog ❯ rails server -d
=> Booting WEBrick
=> Rails 3.2.3 application starting in development on http://0.0.0.0:3000

If I just type

rails server

I get an error in terminal that says the following:

blog ❯ rails server

=> Booting WEBrick

=> Rails 3.2.3 application starting in development on http://0.0.0.0:3000

=> Call with -d to detach

=> Ctrl-C to shutdown server

[2012-05-28 17:42:34] INFO  WEBrick 1.3.1

[2012-05-28 17:42:34] INFO  ruby 1.9.3 (2012-02-16) [x86_64-darwin11.3.0]

[2012-05-28 17:42:34] WARN  TCPServer Error: Address already in use - bind(2)
Exiting

/Users/Nick/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/utils.rb:85:in     `initialize': Address already in use - bind(2) (Errno::EADDRINUSE)
from /Users/Nick/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/utils.rb:85:in `new'

If anyone wants me to paste the rest of the error I’ll go ahead and do that.

I’m not sure what to do from here to fix this.

Thanks for your help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T18:46:11+00:00Added an answer on June 4, 2026 at 6:46 pm

    TCPServer Error: Address already in use – bind(2)

    One of two things is happening:

    1. You already have a WEBrick server running elsewhere on port 3000. Kill it before starting a new one.
    2. Some other process is listening on port 3000

    The first time you did rails server -d, you started a backgrounded WEBrick service that is eating port 3000. Find the running process and kill it via:

    ps aux | grep ruby
    kill  [PID from above]
    

    Then restart your WEBrick with just rails server. At this point, having already removed the public/index.html, your route should be active and working.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

noob to C# here, using iTextSharp examples from around SO I've made a basic
I've made a basic program that output Fibonacci sequence for whatever length n. Here's
I got a basic window made from C++. What I need to do is
I have a basic RSS Reader I made from three20 tutorials using TTLauncherView as
I made a basic rails app with a simple pages controller with an index
I'm not sure what is going on here, I made a very basic HTML/CSS
I've made a basic web crawler to scrape info from a website and I
I have made a basic ascx control which is just a panel with a
I have made a basic unordered list. <ul> <li><a>abc</a></li> <li><a>def</a></li> <li><a>ghi</a></li> <li><a>jkl</a></li> </ul> I
My permalink structure is set so I have url.com/page I made a basic PHP

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.