* if VNS host isn't specified.
*/
protected int getPort() throws ServiceDownException, VNSException {
try {
VinciContext myContext = getContext();
ServeonResult response = (ServeonResult) VinciClient.sendAndReceive(ServeonResult
.composeQuery(serviceName, hostName, priority, instance), myContext.getVNSHost(),
myContext.getVNSPort(), ServeonResult.factory, myContext.getVNSServeonTimeout());
return response.port;
} catch (IOException e) {
Debug.reportException(e);