Remove port when testing external resources over HTTPS.