code: private int getTargetPort() {
          int port = getVirtualPort();
          if (NOTSET == port) {
              port = (isIncoming()) ? getServiceContext().getLocalPort() : getServiceContext().getRemotePort();
          }
          return port;
      }
docs: Find the target port of the request. This checks the VirtualPort data and
  falls back on the socket port information if need be.
  
  @return int