# What is endpoint detection?

## What is endpoint detection?

Netclient intelligently determines if communication between peers is possible over LAN. These endpoints facilitate easier and direct communication between peers within a Netmaker network using internal IP addresses.

Peers within the same VPC can communicate over internal IPs, bypassing the public internet. This setup offers several advantages:

* **Lower Latency**: Internal traffic remains within the cloud provider’s network, resulting in faster data exchange and an overall snappier user experience.
* **Cost Reduction**: Many cloud providers charge for outbound traffic, so using internal communication minimizes costs and helps organizations manage their budgets more effectively.
* **Increased Security**: By limiting exposure to the public internet, internal communication reduces vulnerability to attacks and enhances the overall security posture of the organization.

{% hint style="info" %}
To ensure proper functionality, keep the TCP port of your host's listening port open for endpoint detection. Once this port is enabled, NetClient can identify the most suitable internal IP addresses for peers within the Netmaker network to connect. Utilizing private IPs enhances communication speed and security.
{% endhint %}

<details>

<summary>Did this answer your question?</summary>

😞 😐 😃

</details>


---

# Agent Instructions: 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://learn.netmaker.io/help-articles/what-is-endpoint-detection.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.
