iisnode encountered an error when processing the request.
HRESULT: 0x2 HTTP status: 500 HTTP subStatus: 1002 HTTP reason: Internal Server Error
You are receiving this HTTP 200 response because system.webServer/iisnode/@devErrorsEnabled configuration setting is 'true'.
In addition to the log of stdout and stderr of the node.exe process, consider using debugging and ETW traces to further diagnose the problem.
The last 64k of the output generated by the node.exe process to stderr is shown below:
[x1B][31m[Nest] 21328 - [x1B][39m08/18/2026, 7:06:37 PM [x1B][31m ERROR[x1B][39m [x1B][38;5;3m[ExceptionHandler] [x1B][39m[x1B][31mConfig validation error: "PORT" must be a number[x1B][39m
Error: Config validation error: "PORT" must be a number
at ConfigModule.forRoot (D:\Inetpub\vhosts\hmrs-apps.com\arquitectura.staging.api.hmrs-apps.com\node_modules\@nestjs\config\dist\config.module.js:96:23)
at Object.<anonymous> (D:\Inetpub\vhosts\hmrs-apps.com\arquitectura.staging.api.hmrs-apps.com\app.module.js:39:35)
at Module._compile (node:internal/modules/cjs/loader:1871:14)
at Object..js (node:internal/modules/cjs/loader:2002:10)
at Module.load (node:internal/modules/cjs/loader:1594:32)
at Module._load (node:internal/modules/cjs/loader:1396:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.require (node:internal/modules/cjs/loader:1617:12)
at require (node:internal/modules/helpers:153:16)
at Object.<anonymous> (D:\Inetpub\vhosts\hmrs-apps.com\arquitectura.staging.api.hmrs-apps.com\main.js:11:22)