Skip to content

Commit

Permalink
added FAQ on ports
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismatthieu committed Mar 7, 2012
1 parent 562d83f commit eee03a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion public/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ <h1>For Experienced Nodesters with Existing Node.JS Apps</h1>
<tr>
<td>Ports</td>
<td>Your application's port must match the port that we assign your application. This port is provided at the time of app creation but your can retrieve
your application's port, starting javascript file, and nodester git repository address at any time by running "nodester app info &lt;appname&gt;" from the CLI.</td>
your application's port, starting javascript file, and nodester git repository address at any time by running "nodester app info &lt;appname&gt;" from the CLI.
You can also simply use process.env['app_port'] as an environmental variable and Nodester will automatically use the port assigned or you could
do something like this to make it easy to switch between localhost and production: <i>appPort = process.env['app_port'] || 3000</i></td>
</tr>
<tr>
<td>Web Sockets</td>
Expand Down

0 comments on commit eee03a1

Please sign in to comment.