Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
"Normal sites" is some.ru:80, except that the browser omits the :80 port and you see just some.ru.
When you start the node server, it spins on the local host, conditionally port 3000.
When developing, you want to see what happens there, go to localhost:3000.
To broadcast this result to the Internet in the public domain, you need to forward the port.
Either make port 3000 accessible from outside, or bind the domain and redirect from
some.ru(some.ru:80) domain to localhost:3000 using apache or nginx.
This stackoverflow answer will help you. We need to change the configs so that node.js listens to port 80
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question