Orkut Gmail Calendar Documents Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Rails demo not showing up.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  12 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
deostroll  
View profile  
 More options Aug 19 2009, 12:33 pm
From: deostroll <deostr...@gmail.com>
Date: Wed, 19 Aug 2009 00:03:46 -0700 (PDT)
Local: Wed, Aug 19 2009 12:33 pm
Subject: Rails demo not showing up.
Hi,

Can't get the rails demo to run. I've started the webrick server. Here
is what the output looks like:

-----
[root@chat demo]# ruby script/server
=> Booting WEBrick
=> Rails 2.3.3 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2009-08-18 21:29:41] INFO  WEBrick 1.3.1
[2009-08-18 21:29:41] INFO  ruby 1.8.5 (2006-08-25) [i386-linux]
[2009-08-18 21:29:41] INFO  WEBrick::HTTPServer#start: pid=10886
port=3000

-----

I typed http://localhost:3000 in my browser, and it didn't work. Need
some troubleshooting advice. I am trying to use ruby on a centos
machine. Thanx in advance.

--deostroll


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Wap Addon  
View profile  
 More options Aug 19 2009, 12:37 pm
From: Wap Addon <rails-mailing-l...@andreas-s.net>
Date: Wed, 19 Aug 2009 09:07:43 +0200
Local: Wed, Aug 19 2009 12:37 pm
Subject: Re: Rails demo not showing up.
you can got any error or not your server start is ok but any error you
have to got please put it in this so that we r more clear about it
--
Posted via http://www.ruby-forum.com/.

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marnen Laibow-Koser  
View profile  
 More options Aug 19 2009, 12:42 pm
From: Marnen Laibow-Koser <rails-mailing-l...@andreas-s.net>
Date: Wed, 19 Aug 2009 09:12:17 +0200
Local: Wed, Aug 19 2009 12:42 pm
Subject: Re: Rails demo not showing up.

This looks fine.  WEBrick is running on port 3000.

> -----

> I typed http://localhost:3000 in my browser, and it didn't work.

What do you mean by "it didn't work"?  What did you see in the browser?

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org0
--
Posted via http://www.ruby-forum.com/.


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
deostroll  
View profile  
 More options Aug 19 2009, 12:58 pm
From: deostroll <deostr...@gmail.com>
Date: Wed, 19 Aug 2009 00:28:23 -0700 (PDT)
Local: Wed, Aug 19 2009 12:58 pm
Subject: Re: Rails demo not showing up.

On Aug 19, 3:12 am, Marnen Laibow-Koser <rails-mailing-l...@andreas-

"Firefox can't establish a connection to the server at localhost:3000"


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Wap Addon  
View profile  
 More options Aug 19 2009, 1:08 pm
From: Wap Addon <rails-mailing-l...@andreas-s.net>
Date: Wed, 19 Aug 2009 09:38:36 +0200
Local: Wed, Aug 19 2009 1:08 pm
Subject: Re: Rails demo not showing up.

deostroll wrote:
> On Aug 19, 3:12 am, Marnen Laibow-Koser <rails-mailing-l...@andreas-
> s.net> wrote:
>> > => Call with -d to detach
>> > -----

>> > I typedhttp://localhost:3000in my browser, and it didn't work.

>> What do you mean by "it didn't work"? What did you see in the browser?

> "Firefox can't establish a connection to the server at localhost:3000"

it is ur server problem and webrick server is working proper so that
first of all fix localhost server probolem.
--
Posted via http://www.ruby-forum.com/.

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
deostroll  
View profile  
 More options Aug 19 2009, 3:42 pm
From: deostroll <deostr...@gmail.com>
Date: Wed, 19 Aug 2009 03:12:49 -0700 (PDT)
Local: Wed, Aug 19 2009 3:42 pm
Subject: Re: Rails demo not showing up.

On Aug 19, 3:38 am, Wap Addon <rails-mailing-l...@andreas-s.net>
wrote:

> deostroll wrote:
> > On Aug 19, 3:12 am, Marnen Laibow-Koser <rails-mailing-l...@andreas-
> > s.net> wrote:
> >> > => Call with -d to detach
> >> > -----

> >> > I typedhttp://localhost:3000inmy browser, and it didn't work.

> >> What do you mean by "it didn't work"? What did you see in the browser?

> > "Firefox can't establish a connection to the server at localhost:3000"

> it is ur server problem and webrick server is working proper so that
> first of all fix localhost server probolem.
> --

Hi. This (centos) machine already has an apache web server running.
There are some web apps (in production) working on it too. Do you
suppose having two or more web servers are causing the problem?


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rails List  
View profile  
 More options Aug 19 2009, 5:04 pm
From: Rails List <rails-mailing-l...@andreas-s.net>
Date: Wed, 19 Aug 2009 13:34:17 +0200
Local: Wed, Aug 19 2009 5:04 pm
Subject: Re: Rails demo not showing up.

Let me get this straight.  You have a server {somewhere} on which you
are starting rails demo application using ssh and from your local
windows machine you are trying to access it with http://localhost:3000.
is this what you are trying?

http://www.classifiedscript.in
Open source classifieds script in rails.

--
Posted via http://www.ruby-forum.com/.


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Billee D.  
View profile  
 More options Aug 19 2009, 10:05 pm
From: "Billee D." <william.dod...@gmail.com>
Date: Wed, 19 Aug 2009 09:35:14 -0700 (PDT)
Local: Wed, Aug 19 2009 10:05 pm
Subject: Re: Rails demo not showing up.
Just a thought, but you may want to check your iptables to make sure
that port 3000 is accessible:

http://wiki.centos.org/HowTos/Network/IPTables

On most of the Nix boxes I set up, I harden the firewall pretty good
so that only certain ports are accessible -- in fact, I only let port
80 for web and port XXXXX for SSH to do anything. Your setup may just
be hardened in this manner as well.

On Aug 19, 3:03 am, deostroll <deostr...@gmail.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
deostroll  
View profile  
 More options Sep 13 2009, 10:42 pm
From: deostroll <deostr...@gmail.com>
Date: Sun, 13 Sep 2009 10:12:47 -0700 (PDT)
Local: Sun, Sep 13 2009 10:42 pm
Subject: Re: Rails demo not showing up.
I've typed the following at my prompt:

system-config-securitylevel

It popped up the Security Level Dialog box where it says my firewall
is disabled. None of the requests are hitting my web server program in
spite of this...

On Aug 19, 12:35 pm, "Billee D." <william.dod...@gmail.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
deostroll  
View profile  
 More options Sep 13 2009, 10:48 pm
From: deostroll <deostr...@gmail.com>
Date: Sun, 13 Sep 2009 10:18:18 -0700 (PDT)
Local: Sun, Sep 13 2009 10:48 pm
Subject: Re: Rails demo not showing up.

On Aug 19, 7:34 am, Rails List <rails-mailing-l...@andreas-s.net>
wrote:

Clarification: The centos machine acts like a web server. I've
installs ruby, and rails on it. I was just trying to execute the demo
app. I've booted my webrick server. It runs fine. But on trying to
view the demo app via my firefox browser, the browser can't establish
a connection. No windows machine involved here.


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
heimdull  
View profile  
 More options Sep 14 2009, 3:14 am
From: heimdull <fre...@cfandersen.com>
Date: Sun, 13 Sep 2009 14:44:37 -0700 (PDT)
Local: Mon, Sep 14 2009 3:14 am
Subject: Re: Rails demo not showing up.
What is the url that you are trying to access your demo app?
Is the Firefox browser on the same Centos machine? Firefox is local to
where you are running webrick?
If you open a different shell/window and run the command netstat -tapn
is the server listening to the webrick port? (3000?) does it say
127.0.0.1:3000 or 0.0.0.0:3000 if 3000 is the port you started with.
When you say 'acts like a webserver' does that mean you ran ./script/
server on the demo app?
Open a new shell and do wither wget http://127.0.0.1:3000/ or telnet
127.0.0.1 3000 What happens?

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
deostroll  
View profile  
 More options Sep 15 2009, 12:17 am
From: deostroll <deostr...@gmail.com>
Date: Mon, 14 Sep 2009 11:47:28 -0700 (PDT)
Local: Tues, Sep 15 2009 12:17 am
Subject: Re: Rails demo not showing up.
Hi all,

I guess I've fixed the issue. When I typed http://0.0.0.0:3000 it
worked. I had done this exercise on other machines where webrick
booted on localhost. I was expecting localhost to be the case here
too. Didn't see the webrick console messages ! I even thought that
0.0.0.0 was equivalent to localhost, but its not.

On Sep 14, 2:44 am, heimdull <fre...@cfandersen.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google