The interfaces
file aliases a servername to the hostname and port number of the servername's machine. When FreeTDS™ receives a request to connect to a database server, it looks up the servername in interfaces
. There, it finds the machine name (or address) and port number to connect to, that is, the port where the database server is listening.
Tip | |
---|---|