> For the complete documentation index, see [llms.txt](https://docs.k2geospatial.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.k2geospatial.com/en2/administrator/jmap-server-administrator-manual/jmap-server-to-jmap-server-connections/managing-connections.md).

# Managing connections

## Reinitializing connections

When reinitializing a pool of connections to JMap Server, all open connections will be closed and new ones will be created. This action may be useful to force reconnection to a JMap Server.

## Deleting connections

Deleting a connection to JMap Server deletes this connection’s entire configuration.

## Deactivating a remote connection

You can deactivate a remote connection without removing the connection configuration. The local server can no longer query the remote server. Deactivating a connection is useful when the remote server stops responding and causes delays in the local server.

## Connection statuses

Each connection has a status. This status indicates the condition of the connection towards JMap Server. The following table describes the possible statuses of a connection.

<table data-header-hidden><thead><tr><th width="156.5"></th><th></th></tr></thead><tbody><tr><td><strong>Status</strong></td><td> </td></tr><tr><td>Connected</td><td>Connections to JMap Server were successfully created and are ready to be used.</td></tr><tr><td>Error</td><td><p>Connections to JMap Server are broken. </p><p>The connection cannot be used until the error has been resolved and the connections have been reopened.</p><p>Resetting the connection may resolve this issue. </p><p>You can view a description of the error by clicking on the word Error displayed in red.</p></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.k2geospatial.com/en2/administrator/jmap-server-administrator-manual/jmap-server-to-jmap-server-connections/managing-connections.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
