--- title: Configure the websocket server on the MID Server description: Configure the websocket server on MID Servers to enable connections from agents to the MID Server. You can configure only one websocket server per MID Server. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/it-operations-management/agent-client-collector/acc-configure-web-server.html release: australia product: Agent Client Collector classification: agent-client-collector topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Configuring ACC with a MID Server, ACC deployment - servers, Configuring Agent Client Collector, Agent Client Collector, IT Operations Management] --- # Configure the websocket server on the MID Server Configure the websocket server on MID Servers to enable connections from agents to the MID Server. You can configure only one websocket server per MID Server. ## Before you begin - Ensure that you download and install curl \(or similar software\) on your MID Server Windows machine. - Role required: agent\_client\_collector\_admin ## Procedure 1. Navigate to **All** > **MID Server** > **Servers**. 2. Select the relevant MID Server name. 3. In the **Related Links** section, click **Setup ACC Listener**. The **Agent Client Collector Setup** dialog box appears. \[Omitted image "acc-setup.png"\] Alt text: Agent Client Collector Setup dialog box 4. Enter the MID web server port \(**8800**\) in the displayed field. **Note:** You can change the default port, **8800**, as needed. - To invoke secure TLS configuration, configure the following in the `acc.yml` file: `wss://:/ws/events` - To invoke TLS 1.3 support on the MID Web Server, set the following parameter in the `wrapper-override.conf` file on the MID Server: `-Djdk.tls.server.protocols="TLSv1.3"` - In a Linux environment, port numbers under 1024 can be used only with superuser privileges. 5. Click **OK**. A confirmation message with the URL for the agent configuration file appears. The web server and websocket extension are configured for the MID Server. To verify the configuration, navigate to the following menu options: - **Agent Client Collector** > **MID Web Server**. When editing the fields on the resulting form, you must restart the MID web server extension to save your changes. - **Agent Client Collector** > **Websocket Endpoint** 6. Verify the validity of the websocket, using curl: 1. Enter the following command into a cmd or terminal window: `curl -Lk -H "Authorization: Key " https://:/api/mid/mon` 2. Verify that you receive a valid JSON response \(and not an error message\), such as the following: Successful installation JSON message: ```json { "connectedAgentsNum" : 1 } ``` **Parent Topic:**[Configuring Agent Client Collector with a MID Server](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/agent-client-collector/acc-configuring-with-mid.md)