1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
10
TITLE="FreeTDS User Guide"
11
HREF="index.htm"><LINK
13
TITLE="The interfaces File"
14
HREF="interfacesfile.htm"><LINK
17
HREF="interfaceslocation.htm"><LINK
19
TITLE="What it looks like"
20
HREF="interfacesformat.htm"><LINK
23
HREF="userguide.css"></HEAD
34
SUMMARY="Header navigation table"
46
> User Guide: A Guide to Installing, Configuring, and Running <SPAN
57
HREF="interfaceslocation.htm"
74
HREF="interfacesformat.htm"
88
NAME="INTERFACESPURPOSE"
95
> file aliases a dataserver name to the hostname and port number of the dataserver's machine. When <SPAN
98
> receives a request to connect to a database server, it looks up the dataserver name in <TT
101
>. There, it finds the machine name (or address) and port number to connect to, that is, the port where the database server is listening.
117
SRC="../images/tip.gif"
136
>How's that again?</B
142
> file sometimes trips people up. It seems innocuous enough, but it's also a pretty good example of <SPAN
144
>"it's easy if you know how"</SPAN
151
STYLE="list-style-type: disc"
159
> is the name of the database server. When a database client specifies the <SPAN
161
>"name of the server"</SPAN
162
> to connect to, it's the <SPAN
172
STYLE="list-style-type: disc"
180
> is the name of the host (machine) where the database server is running. It has an IP address, and in almost any environment, you can <B
183
> the machine name to see if you've got it right. After it uses the <SPAN
189
> to look up the <SPAN
198
> will do the same thing <B
201
> does to get the IP address of the machine to connect to.
205
STYLE="list-style-type: disc"
213
> is frequently overlooked. From the network's point of view, knowing the IP address without the port number is a little like knowing the address of an apartment building without knowing the apartment number. In both cases, it will be hard to find what you came for. Make sure you <SPAN
219
> the port number, and that it's correctly entered in the <TT
240
SUMMARY="Footer navigation table"
251
HREF="interfaceslocation.htm"
269
HREF="interfacesformat.htm"
285
HREF="interfacesfile.htm"
293
>What it looks like</TD
b'\\ No newline at end of file'