Android Studio unable to see any connected targets, neither hardware nor virtual
For posterity the answer was that localhost had been reassigned.  I discovered this by typing "ping localhost" at the terminal.  The solution was to add a line in etc/hosts, as Chappie said.  I have still not been able to figure out what caused it to be reassigned, nor how.  Warning that reassigning your localhost could cause some programs to cease working correctly.