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

Mike Tesliuk mike at wsu.com.br
Sun Jul 23 11:47:50 EDT 2017


As i told i already have done that, the question is because one of the
documentation have used the port 443


http://www.opensips.org/Documentation/Tutorials-WebSocket-2-2



but that is not a problems i was just trying to understood


Em 23/07/17 12:24, David Villasmil escreveu:
> 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
> <mailto: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 <http://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>    *
>     .
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-- 


​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/d64cac98/attachment.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/d64cac98/attachment.sig>


More information about the Users mailing list