---
title: Connection Timeout
description: The number of seconds to wait for a connection to AM before timing out and cancelling the connection. Applies to TCP connect operations.
component: web-agents
version: 2025.11
page_id: web-agents:properties-reference:com.sun.identity.agents.config.connect.timeout
canonical_url: https://docs.pingidentity.com/web-agents/2025.11/properties-reference/com.sun.identity.agents.config.connect.timeout.html
---

# Connection Timeout

The number of seconds to wait for a connection to AM before timing out and cancelling the connection. Applies to TCP connect operations.

Default: `4`

|                    |                                                                                |
| ------------------ | ------------------------------------------------------------------------------ |
| Property name      | `com.sun.identity.agents.config.connect.timeout`   Introduced in Web Agent 5.5 |
| Function           | Miscellaneous                                                                  |
| Type               | Integer                                                                        |
| Bootstrap property | Yes                                                                            |
| Required property  | No                                                                             |
| Restart required   | No                                                                             |
