You need to cut the port out of the url within the config.json, put it into the port attribute.
{
"url": "http://example.com",
"port": 8080
}
see https://community.nodebb.org/topic/3392/config-json-updated-base_url-and-relative_path-no-longer-exist/10