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

David Villasmil david.villasmil.work at gmail.com
Sun Jul 23 11:24:19 EDT 2017


There's some permission restrictions that won't allow a non-root user to
bind to those ports. Have a look at the OS documentation to figure out how
to allow that... don't know what OS you're on
On Sun, Jul 23, 2017 at 4:18 PM Mike Tesliuk <mike at wsu.com.br> wrote:

> 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,
> [image: 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
> <contato at wsu.com.br>    *
> .
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170723/223999b3/attachment.html>


More information about the Users mailing list