Otherwise an install on a non-standard port will not pass the trusted hosts check.
@diosmosis do we need to adjust other places like https://github.com/matomo-org/matomo/pull/16169/files#diff-ab05063f21f4243a15f897801ef47a7cR211 and https://github.com/matomo-org/matomo/pull/16169/files#diff-719a15b635df457515639ff08ee921b3R826 too?
@diosmosis some tests seem to be failing now: eg https://travis-ci.org/github/matomo-org/matomo/jobs/705628957#L669
Otherwise all good to merge