Forum: Ruby on Rails WEBrick access from other computer

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
John T. (Guest)
on 2005-12-02 23:50
Here's a strange one. I'm getting into Rails and have installed Ruby and
RoR onto a Linux box for testing (Ubuntu). It all seems to work while
I'm on the linux machine. Using WEBrick I can go to the page and see my
test page.

But I want not have to sit at the linux box to play around, so I tried
accessing the WEBrick server from another system on my network and it
does not work.

Accessing locally I get:

127.0.0.1 - - [02/Dec/2005:17:47:59 EST] "GET /my_test HTTP/1.1" 200 5
- -> /my_test

that's fine.

But if I access from another machine, anything other than the index.html
page in the Public folder results in WEBrick returning a 500 server
error, such as:

192.168.1.101 - - [02/Dec/2005:17:48:05 EST] "GET /my_test HTTP/1.1" 500
5
- -> /my_test

Can WEBrick not be used like this? or is there a configuration I have to
change somewhere?

Thanks.
This topic is locked and can not be replied to.