[Libwebsockets] ERROR on binding to port 443

Andy Green andy at warmcat.com
Wed Jan 13 14:09:25 CET 2016



On January 13, 2016 1:06:20 PM GMT+00:00, Brice Hamon <brice at ydotm.com> wrote:
>Are you root?

As brice says, you have to be root to listen on ports below 1024.

lws has the option to drop root privs at context creation time, you can set the uid / gid it should transition to after listening in the info struct.

-Andy

>On Wed, Jan 13, 2016 at 7:51 AM, techi eth <andy.green at linaro.org>
>wrote:
>
>> Hi,
>>
>> I am trying to use port 443 with wss connection on ubuntu14.04 & i am
>> getting below error.Can anyone give me hint about this error
>solution.
>>
>> "ERROR on binding to port 443 (-1 13)"
>>
>> Regards,
>> Techi
>>
>> _______________________________________________
>> Libwebsockets mailing list
>> Libwebsockets at ml.libwebsockets.org
>> http://ml.libwebsockets.org/mailman/listinfo/libwebsockets
>>
>>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Libwebsockets mailing list
>Libwebsockets at ml.libwebsockets.org
>http://ml.libwebsockets.org/mailman/listinfo/libwebsockets




More information about the Libwebsockets mailing list