Score:0

Port 80 vs 3000? How does it resolve?

cn flag

It might be a simple question but I am trying to wrap my head around server mechanics. If I have a node app o server listening to port 3000 and yet browsers by default use port 80 for http requests, how dow my request resolve on the server?

Again, it might be such simple question for some of you but I would appreciate a reply.

Thanks.

Nikita Kipriyanov avatar
za flag
There must be either a proxy which listens to 80 and then connects to 3000 to pass data forth and back, or you specify non-default port each time.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.