Re: [Cppcms-users] cppcms port
Brought to you by:
artyom-beilis
From: Pierre C. <pi...@co...> - 2020-06-10 06:22:49
|
On 6/10/20 2:11 AM, Jon Foster wrote: > On Tue, Jun 02, 2020 at 12:07:14AM +0200, Pierre Couderc wrote: >> I m trying to use cppcms on port 80 (inside a lan) and i do not success. >> >> It seems that there is a minimum port number of 1024... >> >> Is ther some good reason ? > > Hi Pierre! > > Hopefully you'll see this email. > > I'm glad you got things going but it doesn't appear that one of your > questions was answered. The reason for there being a lower limit of > 1024 is because its imposed by the OS, Linux. Unix considers ports > below 1024 to be "privileged" and so they are reserved for the "super > user", root. This is why you have to start it as root. This > restriction is forced on any piece of software that tries to bind to > a network port on Linux, BSD, ... > > - Jon > > I did not know but I had supposed something like that... I shall add a nginx to deal with that and to serve static files. Thank you very much. Pierre |