Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


AD LDS cannot connect to LDAP port Server 2012

Posted on 2015-02-16
Medium Priority
Last Modified: 2015-02-19
I have a server with Server 2012 R2 Standard installed. I am trying to install Exchange 2013 on it and have done all the prerequisites. I started the Exchange 2013 install and it gave an error on step one. I looked at my server manager and all roles were showing up in red. Since I did the prerequisites for Exchange 2013 all my roles are showing red. I found that the AD LDS was installed when I did all the prerequisites, but was not configured. I am now trying to configure the AD LDS using the wizard and am stuck at the LDAP port because no matter what port I try to use it tells me it cannot connect to the port. I am not using LDAP port 389 or SSL port 636 as those are being used by my domain controller. The steps that I have done so far on the AD LDS wizard are:
Select the type of instance you want to install - I picked "A replica of an existing instance" is that correct????
Instance Name - Instance1
Description - AD LDS Instance
LDAP Port number - 50000
SSL Port number - 50001
Server - name of my server
LDAP Port - 50000 --> when I click on next at this point it tells me that it cannot connect to the server or port. I am 100% sure the server name is correct so it has to be the port that is giving the error. That is the port that the wizard handed out by default on the previous screen so I just stayed with it. I did a netstat and it is not showing that this port is in use. I have tried several different ports on this screen and nothing will connect. I have my firewall completely turned off. What am I doing wrong??? What port should I be using??? I have listed all the roles that are installed on the server below and they all show up in red and show a 1 by Manageability. Hopefully once I get through this AD LDS wizard all roles will be green again and I can successfully install Exchange. Server 2012 and Exchange 2013 are all new to me so please be very specific when giving instructions or advice. Thanks in advance!!

Roles installed:
App Server
File and Storage Services
Local Server
All Servers
Question by:LANengineer
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 53

Assisted Solution

by:Will Szymkowski
Will Szymkowski earned 1000 total points
ID: 40612688
I found that the AD LDS was installed when I did all the prerequisites
Why are you trying to install/configure LDS on your Exchange Server? LDS is not a requirement.

You need to run the setup.exe with an account that has privileges  to Schema admins and Enterprise admins to prepare the Active Directory Domain. If you already have an Exchange 2013 server in your environment you will need a minimum of Exchange Organizational Management role to add additional Exchange Servers.

Also what is the error message that you got initially?

LVL 44

Expert Comment

ID: 40612873
You are using right ports. I would say, restart your server one time and try to configure. However, for which application you need ADLDS?

Author Comment

ID: 40614955
On Microsoft's tech website it showed that AD LDS had to be installed as a prerequisite. I uninstalled AD LDS since I do not need it, but now I am having another issue with installing Exchange 2013. I have attached a notepad file with the error. I can't even get past step 1!?!?!?!? Help!!
LVL 44

Accepted Solution

Amit earned 1000 total points
ID: 40614993
Download exchange 2013 setup file again and run it. Seems your current setup file have some missing dll's

Author Closing Comment

ID: 40620033
I uninstalled the AD LDS since it wasn't needed and that took care of having to worry about the LDAP port.
I also downloaded and new copy of Exchange and burned it to a CD and that took care of the install problem.
Thank you both for your help!!

Featured Post

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you an Exchange administrator employed with an organization? And, have you encountered a corrupt Exchange database due to which you are not able to open its EDB file. This article will explain all the steps to repair corrupt Exchange database.
Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question