Which version/CU of Exchange are you using?
Check the Event Log for any related errors.
Are you able to access ECP via https://localhost/ecp on the Exchange server?
Please try to remove and recreate the ECP virtual directory and see if it can be fixed.
If it doesn't work, It's suggested to run the "UpdateCAS.ps1" and “UpdateConfigFiles.ps1” script from the Exchange install directory scripts subfolder:
C:\Program Files\Microsoft\Exchange Server\V15\Bin>.\UpdateCas.ps1
C:\Program Files\Microsoft\Exchange Server\V15\Bin>.\UpdateConfigFiles.ps1
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.