Something else is using the port 3000 already. Enter this to find the process: $ sudo lsof -i TCP:3000 Cheers - T On Sun, Jul 8, 2012 at 3:12 PM, gvim <gvimrc@gmail.com> wrote:
I can't get my Dancer app, running on OS X 10.7/Perl 5.14.2, to bind to port 3000 for some reason:
$ ./app.pl [92599] debug @0.000008> Dancer::Loggersession_dir : sessions in /sw/lib/perl5/site_perl/5.14.2/Dancer/Session/Storable.pm l. 34 [92599] core @0.008641> loading Dancer::Handler::Standalone handler in /sw/lib/perl5/site_perl/5.14.2/Dancer/Handler.pm l. 45 [92599] core @0.008782> loading handler 'Dancer::Handler::Standalone' in /sw/lib/perl5/site_perl/5.14.2/Dancer.pm l. 464
Dancer 1.3095 server 92599 listening on http://0.0.0.0:3000
bind to 0.0.0.0:3000: Address already in use at /sw/lib/perl5/site_perl/5.14.2/Dancer.pm line 465
When I point my browser to http://localhost:3000 all I get is a non-html page containing the number 2.
gvim _______________________________________________ Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users