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
--
Sent from my Devuan Linux workstation -- https://devuan.org/
"Init Freedom", Yeah!
Jon Foster
JF Possibilities, Inc.
jo...@jf...
|