Permalink
Browse files

this syntax seems to work better if the machine has multiple IP addre…

…sses and something else is already bound to port 80 on another IP (so "*:80" wont work)
  • Loading branch information...
1 parent 0c4e141 commit 1fb123983b867c4626ac849f2bdcd8256ad67732 @mpeters committed Dec 15, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Smolder/Server.pm
View
@@ -14,7 +14,7 @@ sub new {
my ($class, %args) = @_;
my $server = $class->SUPER::new(@_);
$server->host(HostName);
- $server->port(Port);
+ $server->port(Hostname . ':' . Port);
$server->entry_points(
{

0 comments on commit 1fb1239

Please sign in to comment.