> Am I missing something or does the implementation of TServerSocket > not provide an api to specify the ip address to bind on? > > I can only provide a socket and then Thrift impl just takes the > first available ip using getaddrinfo... Correct? > > The Java version seems to provide a bindaddress...
The C++ implementation does not currently provide a way to bind to a specific address. If you can provide a patch, I can see about getting such a feature in the next release of Thrift. http://thrift.apache.org/docs/HowToContribute/