Subject: | Default port and changing port not working |
Date: | Fri, 16 Dec 2011 13:47:42 +0100 |
To: | bug-Perldoc-Server [...] rt.cpan.org |
From: | Dimitar Petrov <mitakaa [...] gmail.com> |
It seems like the --port option does nothing to me. Here is some info:
[dpetrov@pc335: /tmp]$ perldoc-server --help
Usage:
perldoc-server [options]
Options:
--perl /path/to/perl Show documentation for this Perl installation
--port 1234 Set server port number (defaults to 7375)
--public Run as a public server (defaults to private)
--help Display help
[dpetrov@pc335: /tmp]$ perldoc-server
failed to listen to port 3000: Address already in use at
/usr/local/share/perl/5.10.1/HTTP/Server/PSGI.pm line 101.
[dpetrov@pc335: /tmp]$ perldoc-server --port 1234
failed to listen to port 3000: Address already in use at
/usr/local/share/perl/5.10.1/HTTP/Server/PSGI.pm line 101.
Cheers,
Dimi