question: public List < EndpointHandle > bind ( String bindAddress , Endpoint endpointAddress ) throws ServiceResultException { List < EndpointHandle > result = new ArrayList < EndpointHandle > ( ) ; String scheme = UriUtil . getTransportProtocol ( bindAddress ) ; List < SocketAddress > socketAddresses = EndpointUtil . toSocketAddresses ( bindAddress ) ; if ( socketAddresses . isEmpty ( ) ) return Collections . emptyList ( ) ; EndpointServer endpointServer = application . getOrCreateEndpointServer ( scheme ) ; for ( SocketAddress socketAddress : socketAddresses ) { EndpointBinding eb = new EndpointBinding ( endpointServer , endpointAddress , this ) ; EndpointHandle handle = endpointServer . bind ( socketAddress , eb ) ; boundHandles . add ( handle ) ; } return result ; }
target:  Bind an endpoint to the server. bindAddress is resolved into ip-addresses. For instance, if "localhost"  is used, then all local interface ips are bound. If port is not explicitly specified, the default port for the protocol is used. There must be protocol: "opc.tcp", "http", or "https". EndpointUri is the identifier of the endpoint.