Get an available port