0.0.0.0:300 --> this web page isnot availabe

hi all, I'm very new to ruby on rails. and i have a problem while trying to run my first application. i'm created a rails application and controller called say conains action called hello and put some html code in app--view--say--say.rhtml

and when i run 0.0.0.0:3000/say/hello i get this message "this webpage isn't available"

and also tried to remove " index.html" from the application and remove say.rhtml and put instead of it "hello.html.erb". and i'm still ave the same problem so how can i fix this problem?

hi all, I'm very new to ruby on rails. and i have a problem while trying to run my first application. i'm created a rails application and controller called say conains action called hello and put some html code in app--view--say--say.rhtml

and when i run 0.0.0.0:3000/say/hello i get this message "this webpage isn't available"

and also tried to remove " index.html" from the application and remove say.rhtml and put instead of it "hello.html.erb". and i'm still ave the same problem so how can i fix this problem?

0.0.0.0 isn't the right address (when rails (or any other program for that matter) says listening on 0.0.0.0, that's shorthand for 'any ip address that this computer has). Try 127.0.0.1:3000

Fred

hi all, I'm very new to ruby on rails. and i have a problem while trying to run my first application. i'm created a rails application and controller called say conains action called hello and put some html code in app--view--say--say.rhtml

It looks like you are using an old tutorial to get you going. First check that you have Rails 3 installed (use rails -v) then find a Rails 3 tutorial. railstutorial.org is good and it is free to use online.

Also have a look at the Rails Guides, starting with Getting Started unsurprisingly.

and when i run 0.0.0.0:3000/say/hello i get this message "this webpage isn't available"

If you still want to try and analyse your current problem then firstly have you started the server? If yes then does anything appear in the server window. Also look in log/development.log to see if there is anything useful there (assuming you are running in development mode).

It would be useful to tell us which operating system you are running on.

Colin

i'm using rails 2.3 on windows i'm still have the same problem

That was my first thought too, but having tried it with Mongrel I find that 0.0.0.0 does work. I usually use localhost:3000.

Colin

What problem? You have not quoted any previous message and seem to have started a new thread.

You have not answered other questions about the log and server output, but I do not know whether this is in reply to my message as you have not quoted the previous message.

I suggest you go back to the previous message and reply to it correctly (use Reply in your mailer).

Colin

hi all, I'm very new to ruby on rails. and i have a problem while trying to run my first application. i'm created a rails application and controller called say conains action called hello and put some html code in app--view--say--say.rhtml

and when i run 0.0.0.0:3000/say/hello i get this message "this webpage isn't available"

and also tried to remove " index.html" from the application and remove say.rhtml and put instead of it "hello.html.erb". and i'm still ave the same problem so how can i fix this problem?

Re-posting the same message over and over will generally not get you different answers.

Frederick Cheung wrote in post #1016958: