ProxyAddress.getDestinationPort

ushort getDestinationPort()

Gets proxy's destination port; that is, the port on the destination host that will be connected to via the proxy, not the port number of the proxy itself.

Returns

the proxy's destination port