get thrift port method added