check for port in config.json if there is no PORT environment variable