Use port from environment, and fallback to 3000 if undefined