On Saturday, December 7, 2013 8:46:14 AM UTC-2, Christian Liesch wrote: > > Public Domains (like www.google.ch) works well. > Just this strange behavour of localhost with the /etc/hosts entry I > posted. > Of course I can give you more details or the complete /etc/hosts if you > like (and if that helps). Also I can provide the complete code I use :) >
Hi, I have the same problem here. Have you solved? Thanks, Mauricio > > On 12/06/2013 07:20 PM, Tim Caswell wrote: > > > > Does it work for public domains? Or does it only work for IP addresses? > > > > On Dec 6, 2013 11:49 AM, "Christian Liesch" > > <[email protected] <javascript:> > > <mailto:[email protected]<javascript:>>> > wrote: > > > > Hi luvit people > > > > I have strange behavour: > > If I run the following code: > > > > proxy_req = http.request({ > > host = "localhost", > > port = 9090, > > path = "/" > > }) > > > > proxy_req:done() > > > > I get a connection refused, if I set 127.0.0.1 it is working as > > expected. > > > > My /etc/hosts Entry looks somethink like that > > > > 127.0.0.1 localhost.localdomain localhost > > ::1 localhost > > > > Btw. localhost.localdomain works also (as expected). But why not > > 127.0.0.1 > > > > I use luvit 0.7.0 (the newest I found) > > > > Regards > > Christian > > -- > > You received this message because you are subscribed to the Google > > Groups "luvit" group. > > To unsubscribe from this group and stop receiving emails from it, > > send an email to [email protected] <javascript:> > > <mailto:luvit%[email protected] <javascript:>>. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > -- > > You received this message because you are subscribed to a topic in the > > Google Groups "luvit" group. > > To unsubscribe from this topic, visit > > https://groups.google.com/d/topic/luvit/JXbLg3LGMi4/unsubscribe. > > To unsubscribe from this group and all its topics, send an email to > > [email protected] <javascript:>. > > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "luvit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
