On locating connecting orbits