I was wondering what is the function of "discport=0" at the end of an enode address for an ethereum node.
Also, I see that my enode address is populated with my IP address some of the time but populated with [::] at other times upon checking it; does anyone know why this behavior exists?
--nodiscover
option. When you turn off discovery, the IP is omitted and the discovery port is set to 0. – Marrowfat