synopse / mORMot2

OpenSource RESTful ORM/SOA/MVC Framework for Delphi and FreePascal
https://synopse.info
Other
485 stars 122 forks source link

THttpServerRequestAbstract - RemoteIP equals 127.0.0.1 #250

Closed FernandoBanhos closed 2 months ago

FernandoBanhos commented 2 months ago

When an external sock client accesses my server, the RemoteIP property of the THttpServerRequestAbstract object is always equal to 127.0.0.1

synopse commented 2 months ago

I don't understand what you mean by "external sock client".

Do you mean over a reverse proxy? It is as expected. You need to set a HTTP header for the proxy.

Please use the forum to discuss this.