shakeel rehman
2006-Jul-10 12:37 UTC
[Rails] I have installed Ruby on Rails but it doesnt work
Dears I have installed Ruby and Rails succesfuuly but when I run it on the browser by typing http://localhost:3000/, it gives an error ("The Page cannot be displyed"). PLease help me in this regard. Shakeel ur Rehman -- Posted via http://www.ruby-forum.com/.
Craig Demyanovich
2006-Jul-10 12:49 UTC
[Rails] I have installed Ruby on Rails but it doesnt work
On Jul 10, 2006, at 8:37 AM, shakeel rehman wrote:> Dears > > I have installed Ruby and Rails succesfuuly but when I run it on the > browser by typing http://localhost:3000/, it gives an error ("The Page > cannot be displyed").Did you start your Rails application by issuing the command $ ruby script/server in your project''s home directory? You must do this to start webrick, Ruby''s built-in webserver. (If you have lighttpd installed, script/ server will use it instead, unless you invoke it like this: script/ server webrick). Only then will your Rails application be listening for connections on the default port of 3000. Craig
Mat Schaffer
2006-Jul-10 13:16 UTC
[Rails] I have installed Ruby on Rails but it doesnt work
On Jul 10, 2006, at 8:37 AM, shakeel rehman wrote:> Dears > > I have installed Ruby and Rails succesfuuly but when I run it on the > browser by typing http://localhost:3000/, it gives an error ("The Page > cannot be displyed"). > > PLease help me in this regard. > Shakeel ur RehmanDo you maybe have a firewall running that''s blocking port 3000? -Mat