Skip Menu |

This queue is for tickets about the App-SD CPAN distribution.

Report information
The Basics
Id: 60965
Status: resolved
Priority: 0/
Queue: App-SD

People
Owner: Nobody in particular
Requestors: nash [...] nash.id.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: sd browser doesn't work if someone is using it's port
Date: Thu, 2 Sep 2010 14:58:09 +0800
To: bug-App-SD [...] rt.cpan.org
From: Brett Nash <nash [...] nash.id.au>
I use a proxy on my localhost at port 8080. git sd browser does this: git sd browser Browser will be opened after server has been started. Use of uninitialized value in split at /usr/share/perl5/Net/Rendezvous/Publish/Backend/Avahi.pm line 39, <DATA> line 16. App::SD::Server: Starting up local server. You can stop the server with Ctrl-c. bind to *:8080: Address already in use at /usr/share/perl5/Prophet/CLI/Command/Server.pm line 34 Created new window in existing browser session. So three bugs really (feel free to split) - Doesn't bail out when the port is already in use (major) - No (documented) way of changing the port. --port seems to work - Port 8080 is really weird port to choose for a local service by default. Regards, nash
Hi nash, I've think I've addressed most of these concerns in git at this point. - Doesn't bail out when the port is already in use (major) It does now (and tells you you can switch the port with --port). - No (documented) way of changing the port. --port seems to work Right. I added a 'browser' help entry; there's also the ability to do e.g. "sd <command> -h" to get a usage summary, which documents --port already. Suggestions on how to make -h's existence more obvious welcome. - Port 8080 is really weird port to choose for a local service by Is it really? http_alt is pretty standard for running non-root webservers as. Though I'm not sure there are any particular disadvantages to choosing another default port. Can you open this up as a new bug if you still think it's worthwhile to do, and perhaps give a suggestion for a different port? Thanks for the bug report! They really help make SD better. Christine