QuestDB developer advocate here :)
Are QuestDB or Anaconda running on containers? Asking as 'localhost' might mean one thing for Anaconda and a different one for QuestDB if containers are involved. Also, can you access http://localhost:9000 and see the questdb web console?