Back to product page

BindIP property

Determines local interface address that is listening.




  • Basic
object.BindIP [= value]
The BindIP(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodWebServer
valueA String value.


If you don't want your wodWebServer to be publicly accessible (during testing or implementation, for instance) you can make it use only one of your networks interfaces. For instance, if you have local network on IP address, and one interface is connected to internet with IP, you can make only user's from your local network access WEB server by setting
wodWebServer1.BindIP = ""

As a result, connections from Internet will be denied (by your OS, not application) and furthermore you will be allowed to run some other WEB server on same port - on different interface.

If you want your server to be accessible only from your computer, set it up like this:
wodWebServer1.BindIP = ""

To make Web server bind to all interfaces, just leave this property empty.