[fpc-pascal] TFPHttpClient & TFPHttpServer

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Jan 4 00:21:28 CET 2023


On Tue, 3 Jan 2023 23:58:42 +0100 (CET)
Michael Van Canneyt via fpc-pascal <fpc-pascal at lists.freepascal.org>
wrote:

>[...]
> > Q4: TFPHTTPServer has property Address. I reckon it will be set to
> > 'localhost' here. Is it correct?  
> 
> It depends on what you want. Best is to leave it empty.

That will use 0.0.0.0, which is every interface. For security
reasons the default should be more limited, like 127.0.0.1, should it
not?

Mattias


More information about the fpc-pascal mailing list