To do this you need to start the service as root (or more generically, a user with the appropriate privileges) to bind to the port. If it has workers they can run under an unprivileged user after binding and being forked, as https://metacpan.org/pod/Mojolicious::Plugin::SetUserGroup helps you do for Mojolicious applications, similar to how preforking web servers like nginx operate.
On Sat, Jul 9, 2016 at 7:20 PM, Brian Shaw <[email protected]> wrote: > Thanks for the tips guys. > > Dan, do you have any examples of using Mojo::IOLoop::Server with a low (< > 1024) port? > > -- > You received this message because you are subscribed to the Google Groups > "Mojolicious" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/mojolicious. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
