While running APM 10.5.2 SP1, you type an IP Address for the URL of the APM UI and it changes the IP to the FQDN
The APM Enterprise Manager code is making this happen.
APM 10.5.2. SP1
If you are having this issue, then open a Support Request and the engineer will provide APM 10.5.2 Hotfix #11