Fix server listening