--- title: "Adding an HTTP listener" slug: "add-http-listener" updated: 2026-06-09T07:53:19Z published: 2026-06-09T07:53:19Z canonical: "docs.lobstersoftware.com/add-http-listener" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Adding an HTTP listener The following XML fragment is used to add a listener to the current HTTP server to wait for incoming requests. ```xml 80 5 255 30000 10000 5000 5000 ``` The parameters have the following meaning. | Parameter | Description | | --- | --- | | Port | The port on which the listener should wait for incoming connections. | | MinThreads | The number of threads to start in parallel when the server starts. | | MaxThreads | The maximum number of threads that can be started to respond to incoming requests in parallel. | | MaxIdleTimeMs | Specifies the time in milliseconds that a connection may remain idle before the server considers it as invalid. |