this means that Ollama is not running on you machine.
after Ollama pull <model name> you need to run Ollama serve
Ollama pull <model name>
Ollama serve