Files
xrpl-dev-portal/@i18n/ja/docs/_snippets/port-descriptor-object.md
mDuo13 7645140477 Re-levelization: move non-docs content, rename content→docs
For better URLs, the content folder has been renamed 'docs' and all
other files have been moved up a level. Also, non-docs images have been
moved to the static folder at the top level where they belong.

Many relative paths had to be fixed to make this work.
2024-01-31 17:53:52 -08:00

1.3 KiB

ポート記述子オブジェクト

ports配列の各メンバーは以下のフィールドを持つオブジェクトです。

フィールド 説明
port 文字列 - 数値 サーバがリッスンしているポート番号。
protocol 文字列の配列 このポートに接続されているプロトコルの一覧。有効なプロトコルには、JSON-RPCのhttpまたはhttps、WebSocketのwsws2wsswss2gRPCgrpcXRP Ledgerピアプロトコルpeerがあります。

注記: ネットワークインフラによっては、ここで報告されるポートやプロトコルが、外部のネットワークからサーバに到達する方法と一致しないことがあります。例えば、TLSがロードバランサやプロキシで終了する場合、サーバはあるポートでhttpと報告するかもしれませんが、外部からはポート443のhttpsでしか到達できないかもしれません。