Hi,
Could you please share the exact error message while accessing https://localhost/ecp on the servers?
Check if you are getting the login page. Error appears before or after the credentials.
Please remove personal information while sharing the details.
Check the authentication on the ECP virtual directory which should be identical to OWA.