Skip to content

Commit

Permalink
Specify securePort for admin apps.
Browse files Browse the repository at this point in the history
Otherwise they bind to 4433 by default, which conflicts with normal proxy
running on the same machine.
  • Loading branch information
Emily Stark committed Aug 6, 2013
1 parent e6d4350 commit 14cae6c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/ctl/ctl.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Ctl.Commands.push({
if (appConfig.admin) {
bindPathPrefix = "/" + Ctl.myAppName();
proxyConfig = {
securePort: null,
securePort: 44333,
insecurePort: 9414,
bindHost: "localhost",
bindPathPrefix: bindPathPrefix
Expand Down Expand Up @@ -95,7 +95,8 @@ Ctl.Commands.push({
bindEnv: "PORT",
routeEnv: "ROUTE"
}
}
},
tags: ["runner"]
}]);
console.log("Started a server.");
} else {
Expand Down

0 comments on commit 14cae6c

Please sign in to comment.