Home | Previous Page | Next Page   Configuration > Client/Server Communications > Examples of Client/Server Configurations >

Using a Local-Loopback Connection

Figure 17 shows a local-loopback connection. The name of the host computer is river.

Figure 17. Local-Loopback Connection
begin figure description - This figure is described in the surrounding text. - end figure description

The network connection in Figure 17 uses sockets and TCP/IP, so the correct entry for the sqlhosts file is as follows.

dbservername nettype hostname servicename
river_soc onsoctcp river riverol

If the network connection uses TLI instead of sockets, only the nettype entry in this example changes. In that case, the nettype entry is ontlitcp instead of onsoctcp.

The ONCONFIG file includes the following line:

DBSERVERNAME river_soc

This example assumes that an entry for river is in the hosts file and an entry for riverol is in the services file.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]