Using IP addresses
- Last Updated: May 15, 2024
- 1 minute read
- DataDirect Connectors
- ODBC
- Autonomous Rest Connector 8.0
- Documentation
The driver supports Internet Protocol (IP) addresses in the IPv4 and IPv6 formats.
If your network supports named servers, the server name specified in the data source can resolve to an IPv4 or IPv6 address. Addresses can be specified using the REST Sample Path option or the Model file specified by the REST Config File option.
In the following connection string example, the IP address for the REST service is specified in IPv4 format using the REST Sample Path option:
DRIVER=DataDirect 8.0 Autonomous REST Connector;RestSamplePath='123.456.78.90'
In the following connection string example, the IP address for the REST service is specified in IPv6 format using the REST Sample Path option:
DRIVER=DataDirect 8.0 Autonomous REST Connector;
RestSamplePath='2001:DB8:0000:0000:8:800:200C:417A'
In addition to the normal IPv6 format, the drivers in the preceding tables support IPv6 alternative formats for compressed addresses. For example, the following connection string specifies the server using IPv6 format, but uses the compressed syntax for strings of zero bits:
DRIVER=DataDirect 8.0 Autnomous REST Connector;RestSamplePath='2001:DB8:0:0:8:800:200C:417A'
For complete information about IPv6 formats, go to the following URL: