Not quite sure what you're trying to achieve here - `process.env.PORT` and `process.env['PORT']` are [exactly the same thing](https://developer.mozilla.org/docs/Web/JavaScript/Guide/Working_with_Objects#Objects_and_properties).