Hi
I embedded the mongoose web server in my application it just showing 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?
Asked
Active
Viewed 982 times
2
1 Answers
3
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.

Tapper
- 1,393
- 17
- 28
-
2That is the correct answer. For embedded case, set listening_port option to "127.0.0.1:
" – valenok Feb 11 '14 at 20:26