Fixed the port environment variable to PORT. Turns out it is case sensetive.