Webbrick started, localhost does not responding?

2 views
Skip to first unread message

sine serz

unread,
Feb 24, 2007, 2:09:42 PM2/24/07
to rubyonra...@googlegroups.com
hi all,


I have a problem with webbrick i quess, when i start webbrick from rad
rails or console, webbrick started (everything looks fine), but when i
start browser and type localhost:3000 it does not responding. looking
for localhost .....
when i ping localhost everything is ok.

does any1 experience the same problem?

could any1 help me to resolve this problem?


thank you


serz

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

Mahmou M'hiri

unread,
Feb 24, 2007, 2:13:37 PM2/24/07
to rubyonra...@googlegroups.com
when starting it from radrails, be sure about the port
(3000,3000,3000..).

sine serz

unread,
Feb 24, 2007, 2:15:28 PM2/24/07
to rubyonra...@googlegroups.com
Mahmou M'hiri wrote:
> when starting it from radrails, be sure about the port
> (3000,3000,3000..).


hi

what do you mean be sure about the port??

i try every port from 3000 to 3010 and still the same problem

Mahmou M'hiri

unread,
Feb 24, 2007, 2:21:10 PM2/24/07
to rubyonra...@googlegroups.com
sine serz wrote:
> Mahmou M'hiri wrote:
>> when starting it from radrails, be sure about the port
>> (3000,3000,3000..).
>
>
> hi
>
> what do you mean be sure about the port??
>
> i try every port from 3000 to 3010 and still the same problem

<a href="http://img410.imageshack.us/my.php?image=serverad6.jpg"
target="_blank"><img
src="http://img410.imageshack.us/img410/9517/serverad6.th.jpg"
border="0" alt="Free Image Hosting at www.ImageShack.us" /></a>

Mahmou M'hiri

unread,
Feb 24, 2007, 2:23:42 PM2/24/07
to rubyonra...@googlegroups.com

I tried to send you a screen shot from where you can access to the port
chosen by radrails. Did you installed something like Instant Rails ? if
yes, verify that servers are running.

sine serz

unread,
Feb 24, 2007, 2:25:10 PM2/24/07
to rubyonra...@googlegroups.com

Mahmou M`hiri thanks but i really dont know what are you posting here,
is this some advertising, because i dont need this.

Mahmoud M'hiri

unread,
Feb 24, 2007, 2:27:08 PM2/24/07
to rubyonra...@googlegroups.com
This is not advertising! I tried to send you a screen shot from where
you can see from where get the port chosen by radrails.

Did you installed something like Instant Rails ? if yes, verify that
servers are running.

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

sine serz

unread,
Feb 24, 2007, 2:28:38 PM2/24/07
to rubyonra...@googlegroups.com

oh sorry i thought you just gimme some advertising ...


nah i just have radrails installed. and everything was fine, when i
opened my project yesterday, this was happened. I thought that windows
firewall is blocking port or something, then i uninstall everything from
spy doctor to antivirus i thought these services blocking it. But it is
still the same

Mahmoud M'hiri

unread,
Feb 24, 2007, 2:31:11 PM2/24/07
to rubyonra...@googlegroups.com
ok, try: http://localhost/ just to test the apache server.

sine serz

unread,
Feb 24, 2007, 2:36:20 PM2/24/07
to rubyonra...@googlegroups.com
Mahmoud M'hiri wrote:
> ok, try: http://localhost/ just to test the apache server.

nothing happens, but i have webbrick, dont have an apache server
installed.

i got : Unable to connect

when i do http://localhost:3010
waiting for localhost is forever :(

Mahmoud M'hiri

unread,
Feb 24, 2007, 2:42:53 PM2/24/07
to rubyonra...@googlegroups.com
did you get any result before that? because under windows i'm using
instant rails (http://instantrails.rubyforge.org/wiki/wiki.pl) , and to
run a website i use webrick with thoe command line:

ruby script/server 2500

in the rails project directory.

Refer to http://www.rubyonrails.org/down to verify that you've all
installed.

Phlip

unread,
Feb 24, 2007, 2:49:42 PM2/24/07
to rubyonra...@googlegroups.com
sine serz may have wrought:

> when i do http://localhost:3010
> waiting for localhost is forever :(

Did you start Webrick with

script/server

Is its console still open? (Webrick is just a program, not a service.) What
does its output say?

--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!

sine serz

unread,
Feb 24, 2007, 3:35:54 PM2/24/07
to rubyonra...@googlegroups.com

yes i started with script/server. it started ok on port 3000
when go to browser, type http://localhost:3000, nothing ..waiting for
localhost
and the output says nothing at all.

sine serz

unread,
Feb 24, 2007, 4:36:57 PM2/24/07
to rubyonra...@googlegroups.com
ok i solve the problem, i just reinstall everything and now its working.


thanks

Reply all
Reply to author
Forward
0 new messages