What it does

The interfaces file aliases a dataserver name to the hostname and port number of the dataserver's machine. When FreeTDS receives a request to connect to a database server, it looks up the dataserver name 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