开发者

can i restrict mongoose web server to not Accept http request but only from the host application

Hi I embedded the mongoose web server in my application it just showing开发者_Go百科 bunch of web pages

I opening port on localhost , but its mean I can send request from any ware in the network , this is something I like to prevent

Is there any way to tell the web server to Accept request only from the host application?


At least in the standalone version of mongoose you can run it as mongoose -p 127.0.0.1:80 to just listen on the localhost. hope that helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜