> For the complete documentation index, see [llms.txt](https://docs.nexthink.com/platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nexthink.com/platform/ja/references/references-classic/glossary-classic/port-classic.md).

# ポート（クラシック）

ポートは、TCPまたはUDPという通信プロトコルと、1から65,535までの番号で識別される通信リソースです。 ポートは接続に関連付けられています。 デバイスは特定のポートを介して宛先に接続します。

{% hint style="info" %}
適用されるプラットフォーム | Windows | macOS |
{% endhint %}

実際には、接続を確立するには2つのポートが必要です：デバイスの1つのポートと宛先のもう1つのポート。 しかし、通常、ネットワークサービスを決定するのは宛先のポートのみが重要です。 宛先のサーバーアプリケーションは、標準化されたネットワークサービスに関連するよく知られたポートで接続要求を待ち受けています。 例えば、SMTPメールサービスは、受信要請に対してTCPポート25を使用しています。 この理由から、Nexthinkは宛先ポートの情報のみを保存します。

ポートのタイプは、トランスポートプロトコルによって決定されます。 ポートには2つのタイプがあります：

* TCP
* UDP

TCPおよびUDPポートに加えて、Nexthinkにはポートスキャンとして識別された接続に関連付けられる2つの特別なタイプのポートがあります：

* TCPポートスキャン
* UDPポートスキャン

これらの特別なタイプのポートは、単一のポート番号ではなく複数のポート番号にリンクされています。 この特性を反映するために、Nexthinkはこれらのポートにポート番号0を割り当てています。 これは実際には予約されたポート番号で、決して使われません。

***

関連概念

* [接続](/platform/ja/references/references-classic/glossary-classic/connection-classic.md)
* [デバイス](/platform/ja/references/references-classic/glossary-classic/device-classic.md)
* [宛先](/platform/ja/references/references-classic/glossary-classic/destination-classic.md)
* [オブジェクト](/platform/ja/references/references-classic/glossary-classic/object-classic.md)

関連リファレンス

* [ネットワークおよびポートスキャン条件](/platform/ja/references/references-classic/database-information-and-organization-classic/network-and-port-scan-conditions-classic.md)


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.nexthink.com/platform/ja/references/references-classic/glossary-classic/port-classic.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
