How to set (or get) server listening IP (like port) on HTTP server?

Hi

Using Delphi Berlin and Remoting SDK (latest version).

I’m using TRoIndyHTTPServer and need to set/get listening IP for the server (for instance, I have a machine with two LAN cards, two IPs and need to set HttpServer to listen to one card or the other). Is there a way to do that?

Hi,

see TROIndyHTTPServer.IndyServer.Binding

I am trying to simply get the IP using:

RoServer.IndyServer.Bindings.Items[0].IP

but it always returns 0.0.0.0

Is there any documentation regarding this matter? It seems that it’s listening all IPs (0.0.0.0) and I need to set it up to listen to a specific one.

Have you tried to open this property in Object Inspector?

Pls address to Indy documentation. this is their part