You should be able to specify the port in the connection settings.
Have a look through https://confluence.atlassian.com/adminjiraserver071/configuring-an-ssl-connection-to-active-directory-802592351.html
It looks like you're new here. Sign in or register to get started.