Open smk762 opened 11 months ago
Thinking of it; this might be not so wise to implement such feature. When the netids are different and ports are the same nodes will need to handle incoming traffic which is unnecessary for them and this will increase the network usage for the device runs mm2.
In short, payloads will be shared across different netids when the ports are same. Which is not good.
We can print the p2p network port as an information on mm2 initialization logs, so devs/users can see what's being used and then can open that port on firewall.
Describe the bug During testing on a
netid
other than7777
, it was discovered that the tcp/wss ports used for netid 7777 (i.e. 38890 & 38900) were not used for the alternative netids.For example, netid 1111 returned
and netid 8762 returned
The algo that decides what these ports is not apparent to the user. It would be a great convenience if these ports could be defined in the MM2.json file to avoid confusion and the requirement to open additional ports when changing the netid on a seednode server.
e.g.