It is going to connect using the information from the Testing server defined in Dreamweaver. Usually when you can't connect the issue is with the database information not matching the testing server definition, no testing server defined, or the testing server URL being wrong.