[OpenSIPS-Users] Permission denied bo bind port 443 or 80

Mike Tesliuk mike at wsu.com.br
Sun Jul 23 10:13:29 EDT 2017


Hello,

Im creating an enviroment with TLS and WSS and i got permission denied
when trying to start the wss and ws using port 80 or 443


Jul 23 10:04:40 opensipsHomolog /usr/local/sbin/opensips[3494]:
ERROR:core:tcp_init_listener: bind(c, 0x7efca6dc1e5c, 16) on
168.194.68.29:443 : Permission denied
Jul 23 10:04:40 opensipsHomolog /usr/local/sbin/opensips[3494]:
ERROR:core:trans_init_all_listeners: failed to init listener
[168.194.68.29], proto wss


This occur why im running opensips as a user (opensips) and not as root,
there is a setcap option that can allow this to happen, but, i think
that this is some kind of mistake on my configuration, im right ? as we
got daemons like nginx or apache that run as user but can have use of
those ports , how can i do the same on opensips ?


Thank you


-- 


‚ÄčAtenciosamente,
WSU TECNOLOGIA
Mike Tesliuk
Rua Visconde do Rio Branco 1630 . Sala 1302 . Curitiba . PR  
12387 SW 125th ter, Miami, Florida 33186 - USA
tel +55 (41) 3941.0650   +1 (786) 719.6253
*website <http://www.wsu.com.br/>  |  mapa
<https://www.google.com.br/maps/place/WSU+Tecnologia/@-25.4354389,-49.2779048,17z/data=%213m1%214b1%214m2%213m1%211s0x94dce473a24cf705:0x369fdf05247b568b?hl=pt-BR>  |  email
<mailto:contato at wsu.com.br>    *
.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170723/d1ac709b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: OpenPGP digital signature
URL: <http://lists.opensips.org/pipermail/users/attachments/20170723/d1ac709b/attachment-0001.sig>


More information about the Users mailing list