[Libwebsockets] Minimal examples for webserver

Pranjali Chumbhale pranjalic at safeai.ai
Wed Mar 4 19:47:51 CET 2020


Hello Team,

I am building and running the minimal examples for ws-server at my end
without -s option.
The server starts, however, netstat command does not show anything on the
port 7681 (I am using the default port as in example).
Also, http://localhost:7681 shows 404 error.

Did anyone face this issue?

*Here is starting the server output:*
./lws-minimal-ws-server-timer
[2020/03/04 10:35:09:4276] U: LWS minimal ws server | visit
http://localhost:7681 (-s = use TLS / https)

*And here is the netstat command output:*

netstat | grep 7681
unix  3      [ ]         STREAM     CONNECTED     517681


Regards,
Pranjali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20200304/d152bea4/attachment.htm>


More information about the Libwebsockets mailing list