# listenServer Function

Module
import { listenServer } from "@tsed/common"
Source/packages/common/src/server/utils/listenServer.ts

# Overview

function listenServer(http: Http.Server | Https.Server, settings: {
    https: boolean;
    address: string | number;
    port: number;
}): Promise<{
    address: string;
    port: number;
    https: boolean;
}>;