Fixed the issue where listen_port configuration has no effect.