java
2006-Sep-14 16:16 UTC
[Mongrel] How do I connect to mongrel that''s behind a router from outside world
Hello, I am new to mongrel. I have mongrel running on a linux machine (Fedora core), which sits behind a broadband router. The linux machine has the typical 192.168... internal IP address. We use the dynamicdns to connect to the linux machine from outside world. Now, my question is how can myself and my colleagues connect to mongrel from outside world. I tried starting mongrel with the -a (-address) option by specifying (0.0.0.0 default), its internal ip (192.168..), the public IP address, the dynamic dns name. None of these worked. So my question is: 1. Do I need apache to route these calls to mongrel (by using mod_proxy) ? 2. Do I leave the default address (0.0.0.0) for mongrel on the linux box ? 3. Is mongrel a HTTP server like apache ? Any help would be appreciated. Thanks, Kannan
Zed Shaw
2006-Sep-14 22:53 UTC
[Mongrel] How do I connect to mongrel that''s behind a router from outside world
On Thu, 2006-09-14 at 16:16 +0000, java wrote:> Hello, > > I am new to mongrel. I have mongrel running on a linux machine (Fedora core), which sits behind a broadband router. The linux machine has the typical 192.168... internal IP address. We use the dynamicdns to connect to the linux machine from outside world. > > Now, my question is how can myself and my colleagues connect to mongrel from outside world.You have to tell your router to forward connections to the *router''s* port 80 to your computer inside the firewall. Please read your router''s manual and online instructions for how to do this. -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.