Files
xrpl-dev-portal/@i18n/ja/docs/infrastructure/configuration/peering/manually-connect-to-a-specific-peer.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

2.6 KiB

html, parent, seo, labels
html parent seo labels
manually-connect-to-a-specific-peer.html configure-peering.html
description
rippledサーバーを特定のピアに接続します。
コアサーバー

特定のピアへの手動接続

サーバーをXRP Ledgerネットワーク内の特定のピアに手動で接続するには、次の手順を実行します。

ヒント: サーバーが起動時にこのサーバーに自動的に接続して、以降も接続を維持するようにするには、そのピアに対してピアリザベーションを設定することができます。

前提条件

  • 接続先のピアのIPアドレスを把握しておく必要があります。
  • 接続先のピアがXRP Ledgerピアプロトコルに使用するポートを把握しておく必要があります。デフォルトでは、ポート51235です。
  • サーバーからピアへのネットワーク接続を用意する必要があります。例えば、ピアサーバーはファイアウォールを通じて適切なポートを転送する必要があります。
  • ピアサーバーに使用可能なピアスロットがある必要があります。ピアがすでにピアの最大数に達している場合、ピアサーバーのオペレーターに依頼して、サーバーのピアリザベーションを追加してもらいます。

手順

接続するには、[connectメソッド][]を使用します。例:

{% tabs %}

{% tab label="WebSocket" %}

{
    "command": "connect",
    "ip": "169.54.2.151",
    "port": 51235
}

{% /tab %}

{% tab label="JSON-RPC" %}

{
    "method": "connect",
    "params": [
        {
            "ip": "169.54.2.151",
            "port": 51235
        }
    ]
}

{% /tab %}

{% tab label="コマンドライン" %}

rippled connect 169.54.2.151 51235

{% /tab %}

{% /tabs %}

関連項目

{% raw-partial file="/docs/_snippets/common-links.md" /%}