Skip to content

Network usage

clemahieu edited this page Oct 1, 2015 · 12 revisions

7075 UDP: Primary node activity port

  • Port configurable in config.json:node/peering_port
  • Always enabled
  • Binds to all adapters, unicast
  • Contents: Raw rai protocol datagrams
  • All standard ledger activity goes through this port
  • If blocked the node will not function

7075 TCP: Node bootstrapping server

  • Port same as UDP port
  • Always enabled
  • Binds to all adapters, unicast
  • Contents: Raw rai protocol stream
  • Transmits the ledger to new nodes in bulk
  • If blocked other nodes will not be able retrieve the ledger from this node

7075 SCTP: Unimplemented

  • Will combine functionality of UDP and TCP ports

7076 TCP: RPC server

  • Port configurable in config.json:rpc/port
  • Disabled by default, enable with config.json:rpc_enable
  • Binds to localhost by default for security reasons, configurable in config.json:rpc/address, unicast
  • Contents: Unencrypted HTTP requests containing JSON object bodies
  • Allows the node to be queried or controlled through HTTP requests
  • If blocked the node will not be able to be queried or controlled by HTTP