github.com/amazechain/amc@v0.1.3/docs/run/ports.md (about) 1 # Ports 2 3 This section provides essential information about the ports used by the system, their primary purposes, and recommendations for exposure settings. 4 5 ## Peering Ports 6 7 - **Port:** 61016 8 - **Protocol:** TCP 9 - **Purpose:** Peering with other nodes for synchronization of blockchain data. Nodes communicate through this port to maintain network consensus and share updated information. 10 - **Exposure Recommendation:** This port should be exposed to enable seamless interaction and synchronization with other nodes in the network. 11 12 13 - **Port:** 61015 14 - **Protocol:** UDP 15 - **Purpose:** Peering discovery other peering using DiscoveryV5 protocol. 16 17 ## Metrics Port 18 19 - **Port:** 6060 20 - **Protocol:** TCP 21 - **Purpose:** This port is designated for serving metrics related to the system's performance and operation. It allows internal monitoring and data collection for analysis. 22 - **Exposure Recommendation:** By default, this port should not be exposed to the public. It is intended for internal monitoring and analysis purposes. 23 24 ## HTTP RPC Port 25 26 - **Port:** 20012 27 - **Protocol:** TCP 28 - **Purpose:** Port 8545 provides an HTTP-based Remote Procedure Call (RPC) interface. It enables external applications to interact with the blockchain by sending requests over HTTP. 29 - **Exposure Recommendation:** Similar to the metrics port, exposing this port to the public is not recommended by default due to security considerations. 30 31 ## WS RPC Port 32 33 - **Port:** 20013 34 - **Protocol:** TCP 35 - **Purpose:** Port 8546 offers a WebSocket-based Remote Procedure Call (RPC) interface. It allows real-time communication between external applications and the blockchain. 36 - **Exposure Recommendation:** As with the HTTP RPC port, the WS RPC port should not be exposed by default for security reasons. 37