[Libwebsockets] ERROR on binding to port 443

Subi S S subi.s at cambiumnetworks.com
Wed Jan 13 16:41:02 CET 2016


Add user to sudoers and start with sudo 
	
-----Original Message-----
From: Andy Green [mailto:andy.green at linaro.org] On Behalf Of Andy Green
Sent: 13 January 2016 18:39
To: Brice Hamon <brice at ydotm.com>; techi eth <andy.green at linaro.org>
Cc: libwebsockets at ml.libwebsockets. <libwebsockets at ml.libwebsockets.org>
Subject: Re: [Libwebsockets] ERROR on binding to port 443



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

_______________________________________________
Libwebsockets mailing list
Libwebsockets at ml.libwebsockets.org
http://ml.libwebsockets.org/mailman/listinfo/libwebsockets



More information about the Libwebsockets mailing list