private SocketAddress getOwnAddress() {
        final String address = this.properties.getAddress();
        final int port = this.properties.getPort();
        final SocketAddress target;
        if (GrpcServerProperties.ANY_IP_ADDRESS.equals(address)) {
            target = new InetSocketAddress(port);
        } else {
            target = new InetSocketAddress(InetAddresses.forString(address), port);
        }
        return target;
    }
Creates a self name resolver with the given properties.

@param properties The properties to read the server address from.
@param args The arguments for the resolver.
@param executorResource The shared executor resource for channels.
grpc-server-spring-boot-starter/src/main/java/net/devh/boot/grpc/server/nameresolver/SelfNameResolver.java