thrift setup with server 0