TVHeadend client not connecting

All the settings are in ~/.hts. But in your situation, I think I would start again. Wipe ~/.hts, uninstall/reinstall TVH and go through the TVH wizard selecting as many defaults as possible to get it going, then play with other options if you have special requirements.