[Solved] Missing ‘Access-Control-Allow-Origin’ Header

The initial OPTIONS request has the Access-Control-Allow-Origin present however the following GET request does not.

Request Headers:

Accept: application/json, text/plain, */*
Authorization: Basic WlRkNXhDT3FqUXBuZ3NwdXhkSE1FdVpnM2FNeDdQVnZvNF82cFo5UTo=
DNT: 1
Origin: http://local.domain:8080
Referer: http://local.domain:8080/
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36

OPTIONS Response:

access-control-allow-credentials: true
access-control-allow-headers: origin,content-type,content-length,user-agent,host,accept,authorization
access-control-allow-methods: OPTIONS,GET
access-control-allow-origin: *
access-control-expose-headers: Location,www-authenticate,cache-control,pragma,content-type,expires,last-modified
access-control-max-age: 3600
allow: OPTIONS,GET
cache-control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
date: Thu, 21 Feb 2019 11:53:24 GMT
pragma: no-cache
server: CompaniesHouse
status: 204

GET Response:

access-control-allow-credentials: true
access-control-allow-headers: X-RateLimit-Query, origin, content-type, content-length, user-agent, host, accept, authorization
access-control-expose-headers: X-RateLimit-Window, X-RateLimit-Limit, X-RateLimit-Remain, X-RateLimit-Reset, Location, www-authenticate, cache-control, pragma, content-type, expires, last-modified, Location,www-authenticate,cache-control,pragma,content-type,expires,last-modified
access-control-max-age: 3600

Solved missing port from JavaScript domains.