The hostname can only be supplied being an IP address; DNS names aren't allowed. The port inside the hostname area is the TCP listening port. In the event the TCP and UDP (discovery) ports differ, the UDP port is specified as a query parameter "discport" An enode is a method https://codyigdaw.bloggazza.com/27450711/manual-article-review-is-required-for-this-article