[Dancer-users] Can't bind to port

gvim gvimrc at gmail.com
Sun Jul 8 23:12:24 CEST 2012


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


More information about the Dancer-users mailing list