Bitcoin clients use several methods to locate other clients. The primary method is a list of nodes from a previous connection to the network . The works very well for everything but your first connection or a connection after a very long period of disconnection.