For starter, make sure the port number that (process.env.PORT) is returning, is an integer not a string. So, you can try Value as in this format:
parseInt(process.env.PORT, 10);