2

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?

Bergi
  • 630,263
  • 148
  • 957
  • 1,375
user63898
  • 29,839
  • 85
  • 272
  • 514

1 Answers1

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