I came across this error when I just finished the installation. I managed to start the server in cmd shell. But then, I cant seem to connect to localhost//:3000.

What did I do? This is for Windows.

  1. Go to Control Panel  – Windows Firewall – Advance Settings then Click “Inbound Rules”.Follow the screenshots below.
  2. I came to this solution because I think maybe a firewall is blocking or not allowing the access to PORT 3000.I am not sure but this is what I did in connecting MYSQL Server.

If done, restart the PC. Also check if you typed the correct Url. I think it should be localhost:3000 .

Then start the Command Prompt with Ruby and rails. Repeat the start server procedure,  >>site – cd (nameofproject) – (rails server) .


Happy Coding!