Getting a 500 response when accessing Categories Index route

Port numbers are only supported for local development, is this a Development question? No production instance of Discourse will ever work with a custom port, that is not supported.