Don't brute force the server port. Open one, and get its number.