In my limited free time, I am trying to get Ruby on Rails up and running on my mini. I was successful getting everything going with one exception. I can't get Rails to listen on my machine's internal network IP address, meaning I cannot access my app from another machine on the same network by using my mini's IP address - http://192.168.1.200:3000/myapp. However, I am able to access it from the mini itself using http://localhost:3000/myapp.
So I am wondering is there is a way I can configure the lighttpd container to listen on 192.168.1.200? From what I have read 0.0.0.0 is supposed to represent all the IPs, but this obviously isn't working for me. I just don't understand which config file I should be playing with and what I should be changing.
Another thing I haven't tried is poking a hole in my firewall for port 3000, but I didn't think this was necessary as I run and access Tomcat on 8080 without a hole -- sounds funny
Heres what my server script displays.
Thanks for any help - I'll continue the trial by error method...
So I am wondering is there is a way I can configure the lighttpd container to listen on 192.168.1.200? From what I have read 0.0.0.0 is supposed to represent all the IPs, but this obviously isn't working for me. I just don't understand which config file I should be playing with and what I should be changing.
Another thing I haven't tried is poking a hole in my firewall for port 3000, but I didn't think this was necessary as I run and access Tomcat on 8080 without a hole -- sounds funny
Heres what my server script displays.
Code:
miniweb:~/testruby jeremy$ script/server
=> Booting lighttpd (use 'script/server webrick' to force WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)
Thanks for any help - I'll continue the trial by error method...