Fixes the server to listen to the port set by the environment variable