private int validatePort(int port) {
        if (port < 0 || port > 0xFFFF) {
            throw new IllegalArgumentException("port out of range:" + port);
        }
        return port;
    }
@author Argha C
@since 3/1/21
<p>
This exists merely to wrap a resolver lookup result, that is not discovery enabled.
zuul-discovery/src/main/java/com/netflix/zuul/discovery/NonDiscoveryServer.java