* Daniel McBrearty <[EMAIL PROTECTED]> [2007-06-19 00:50]: > if I try -host all or -host=all I get: > > [info] engoi powered by Catalyst 5.7007 > Use of uninitialized value in string eq at > /usr/local/lib/perl5/site_perl/5.8.8/Catalyst/Engine/HTTP.pm line 197. > Use of uninitialized value in gethostbyaddr at > /usr/local/lib/perl5/site_perl/5.8.8/Catalyst/Engine/HTTP.pm line 202. > Use of uninitialized value in subroutine entry at > /usr/local/lib/perl5/site_perl/5.8.8/Catalyst/Engine/HTTP.pm line 202. > Bad arg length for Socket::inet_ntoa, length is 0, should be 4 at > /usr/local/lib/perl5/site_perl/5.8.8/Catalyst/Engine/HTTP.pm line 202. > > I guess this is really simple, but it's late ... what am I doing wrong?
Uh, `all` is not a valid IP address. :-) It looks like the server does bind to all addresses – check with `netstat -lpt`, you should see it. But by default the `allowed` option in Catalyst::Engine::HTTP::run is set to only permit connections from 127.0.0.1, if I’m reading the source right, and unfortunately myapp_server.pl provides no way to set a different value for that option from the command line. Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/> _______________________________________________ List: [email protected] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
