[Libwebsockets] [libwebsockets] #48: How to setup web socket server to run on port 443 on a different interface

Trac trac at libwebsockets.org
Fri Nov 8 20:59:20 CET 2013


#48: How to setup web socket server to run on port 443 on a different interface
------------------------------------+-----------------
 Reporter:  jdnevarez               |      Owner:
     Type:  defect                  |     Status:  new
 Priority:  major                   |  Milestone:
Component:  libwebsocket test apps  |    Version:
 Keywords:                          |
------------------------------------+-----------------
 I have an nginx web server with ssl (running on port 443).
 Is there a way to run my web socket server on eth1 port 443?
 I tried setting like:
 const char *interface = "eth1";
 ...
 info.iface = interface;

 but got
 lwsts[27217]: ERROR on binding to port 443 (-1 98)

 Thanks

--
Ticket URL: <http://libwebsockets.org/trac/libwebsockets/ticket/48>
libwebsockets <http://libwebsockets.org>
libwebsockets C library



More information about the Libwebsockets mailing list