From carl.dubois at gmail.com Fri Jul 23 11:40:29 2010 From: carl.dubois at gmail.com (Carl Dubois) Date: Fri, 23 Jul 2010 11:40:29 -0400 Subject: [Mongrel] amazon ec2 Message-ID: Hi All, How can I resolve http using a Amazon EC2 instance? The instance used the mongrel web server for rails. Do I need to modify a mongrel configuration to use the externally assigned ip? Currently resolves to 0.0.0.0:3000 by default. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From leccine at gmail.com Sat Jul 24 04:57:47 2010 From: leccine at gmail.com (=?UTF-8?Q?Istv=C3=A1n?=) Date: Sat, 24 Jul 2010 09:57:47 +0100 Subject: [Mongrel] amazon ec2 In-Reply-To: References: Message-ID: I guess your question is where to bind mongrel and the answer is to the local ip since the external ip is not bound to you box by any mean, instead, the traffic is routed to you instance belong to that public ip(som magic happens with the headers). Here is the definition for public/private ips in ec2 - EC2 Private IP Address: The internal RFC 1918 address of an instance that is only routable within the EC2 Cloud. Network traffic originating outside the EC2 network cannot route to this IP, and must use the Public IP or Elastic IP Address mapped to the instance. - EC2 Public IP Address: Internet routable IP address assigned by the system for all instances. Traffic routed to the Public IP is translated via 1:1 Network Address Translation (NAT) and forwarded to the Private IP address of an instance. The mapping of a Public IP to Private IP of an instance is the default launch configuration for all instance types. Public IP Addresses are no longer usable upon instance termination. http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1346 I hope that helps. Istvan On Fri, Jul 23, 2010 at 4:40 PM, Carl Dubois wrote: > Hi All, > > How can I resolve http using a Amazon EC2 instance? > > The instance used the mongrel web server for rails. > > > > Do I need to modify a mongrel configuration to use the externally assigned > ip? > > Currently resolves to 0.0.0.0:3000 by default. > > Thanks > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users > -- the sun shines for all http://l1xl1x.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at ruby-forum.com Tue Jul 27 16:43:33 2010 From: lists at ruby-forum.com (Roger Pack) Date: Tue, 27 Jul 2010 22:43:33 +0200 Subject: [Mongrel] bug Message-ID: <006876afc97a5c868ef47febd7ebd998@ruby-forum.com> Perhaps it's old news, but appears there's a bug in mongrel: http://www.ruby-forum.com/topic/213853#928629 Just in case it's not old news. Thanks! -r -- Posted via http://www.ruby-forum.com/. From luislavena at gmail.com Tue Jul 27 17:05:42 2010 From: luislavena at gmail.com (Luis Lavena) Date: Tue, 27 Jul 2010 18:05:42 -0300 Subject: [Mongrel] bug In-Reply-To: <006876afc97a5c868ef47febd7ebd998@ruby-forum.com> References: <006876afc97a5c868ef47febd7ebd998@ruby-forum.com> Message-ID: On Tue, Jul 27, 2010 at 5:43 PM, Roger Pack wrote: > Perhaps it's old news, but appears there's a bug in mongrel: > > http://www.ruby-forum.com/topic/213853#928629 > Just in case it's not old news. http://github.com/fauna/mongrel/issues/#issue/5 More than monkeypatching I would appreciate a real patch. -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup?ry