Hey Everyone, I just started messing around with this library. On one of my machines It works fine, when I go to another machine I get an no_acceptor error when starting. I came accross some info that said" Try using an IP address that''s valid on your machine. We really should change that 192.168.0.100 that''s given in the sample code. I found some more info that said there was a patch applied to fix this.. I''ve tried using 127.0.0.1, my network IP, my internal IP.. but still this is still happening.. any ideas? Could it be issues with my internal network? thanks Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/eventmachine-talk/attachments/20070327/ca24b857/attachment.html
On 3/28/07, aaron smith <beingthexemplarylists at gmail.com> wrote:> Hey Everyone, > > I just started messing around with this library. On one of my machines It > works fine, when I go to another machine I get an no_acceptor error when > starting. I came accross some info that said" > Try using an IP address that''s valid on your machine. We really should > change that 192.168.0.100 that''s given in the sample code. > I found some more info that said there was a patch applied to fix this.. > > I''ve tried using 127.0.0.1, my network IP, my internal IP.. but still this > is still happening.. any ideas? Could it be issues with my internal network? > > thanks > AaronWell, i also get sometime that error, but normally having a proper /etc/hosts file solves the problem. For example: 127.0.0.1 localhost.localdomain 127.0.0.1 localhost 127.0.0.1 chaos chaos.com 192.168.2.134 chaos ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts Also, if all else fails, you can try binding to localhost, which works always. -- gnufied ----------- There was only one Road; that it was like a great river: its springs were at every doorstep, and every path was its tributary.
On 3/27/07, aaron smith <beingthexemplarylists at gmail.com> wrote:> > Hey Everyone, > > I just started messing around with this library. On one of my machines It > works fine, when I go to another machine I get an no_acceptor error when > starting. I came accross some info that said" > > Try using an IP address that''s valid on your machine. We really should > change that 192.168.0.100 that''s given in the sample code. > >This is always a straightforward situation. An accept(2) call inside the EM failed. Depending on your OS, this can happen if you give an IP address that is meaningless on your machine, or you specified a port in a range that your process is not privileged to open (not applicable on Windows), or there is another server already running on that address/port. Problems with the IP address occasionally arise because of DNS issues. Some versions of some platforms define localhost in unexpected ways, as hemant pointed out. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/eventmachine-talk/attachments/20070327/6cd1656b/attachment.html