If you don't write the port number, the port 80 is taken by default.
On Jun 19, 2015 8:43 PM, "Ray Jender" <rayjende...@gmail.com> wrote:

>
> So, for all of the example and demo code I have seen, they always include
> doing "node file.js" and then it echos back "Listening at:
> http://localhost:8080";  or similar.
> Which implies I have to browse to port 8080 to use the app.
>
> My question is how does this work in production?   I have never had to
> browse to a website using a port number?   I'm confused?
> How can I simply browse to a URL and not include a port number?
>
> Thanks,
>
> Ray
>
>
>  --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nodejs+unsubscr...@googlegroups.com.
> To post to this group, send email to nodejs@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/c1887b7f-7a7d-4eb7-b94e-c6d9bcd5bb6c%40googlegroups.com
> <https://groups.google.com/d/msgid/nodejs/c1887b7f-7a7d-4eb7-b94e-c6d9bcd5bb6c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CAOrKRqC8FMWKcon%3DsXupnqPphij7%2Bz6r0nPocFhnyCWV2q5cBA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to