Sounds like you may either have an incorrect IP address and/or port # for your DC or GC. Port 389 for a Domain Controller, and if the server is a Global Catalog, you'll need port 3268. Another possibility is that port 389 may be blocked by some sort of ACL or firewall. I would try the port change first and re-verify your IP address and if that doesn't get you anywhere, setting up a network capture to see what may be happening during the bind request is your next step.
Are you getting this error “Installer User Interface Mode Not Supported. The installer cannot run in this UI mode. To specify the interface mode, use the -i command-line option, followed by the UI mode identifier. The value UI mode identifiers...
The below trick might come handy when you have to add a new node to a cluster but you don't have or is unsure of the security password for the publisher. This procedure has been around for ages.
1) Login into the CLI of the Publisher.