Skip to content

Commit

Permalink
this syntax seems to work better if the machine has multiple IP addre…
Browse files Browse the repository at this point in the history
…sses and something else is already bound to port 80 on another IP (so "*:80" wont work)
  • Loading branch information
mpeters committed Dec 15, 2009
1 parent 0c4e141 commit 1fb1239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Smolder/Server.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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(
{
Expand Down

0 comments on commit 1fb1239

Please sign in to comment.