Separate Listening and Discovery Ports in Node Configuration #2308
Labels
dev experience
The build system, things that enable easier development etc.
devops
DevOps related task
docker
good first issue
Good for newcomers
icebox
items that need more consideration, time, or can wait
Stale
Description
According to the documentation on P2P Port configuration, the
--p2p-port
options/BESU_P2P_PORT
environment variable/p2p-port
configuration file option can be used to configure the listening port for the node, which is used for both the TCP listening port and the UDP discovery port.Strangely enough, there are sections in the documentation that describe a valid Enode URL that allows setting a different discovery port using a
discport
query parameter.This brings the question of if those Enode URLs are supported, how can one configure a dedicated port for discovery, which has a different number than the listening port.
Acceptance Criteria
Allow configuring the listening port and discovery port of the node separatly,
Additional Information
It might seem like a small issue, but in scenarios that require exposing both ports, it creates limitations such as the cloud services that can be used to run nodes (at the time of opening this issue, both Azure ACI and AWS ECS do not support opening the same port number for both TCP and UDP at the same time).
The text was updated successfully, but these errors were encountered: