ESP32Cube Logo
Sign In
Set Proxy for Ollma on Windows

Set Proxy for Ollma on Windows

esp32cube
Oct 6, 2026
Tutorial
5634 views

Set proxy for ollama on Windows

Web

If you are work behind a proxy, Ollama will unable to pull models behind the proxy on windows. Here is the solution for it.

Actually, it's very simple to set proxy for Ollama on windows. Just need to add a new environment variable named HTTPS_PROXY with your proxy address.

Show as below figure

Pasted image 20250208165154.jpeg

Then open PowerShell and type:

ollama run deepseek-r1:7b

It will pull the model from the proxy.

Pasted image 20250208165718.jpeg

That all.

There are several discussions about this issue on the web, but no one can provide a clear solution. And please note that no need to add environment variable HTTP_PROXY, it may interrupt client connections to the server.

Share this article

Comments

0

Please sign in to post a comment.

No comments yet.

Related Articles

ESP32 4-Wire PT100/PT1000 High-Accuracy Temperature Measurement with MAX31865

Tutorial·101 views

ESP32 DFPlayer Mini (MP3-TF-16P): Wiring, Arduino Code, Playback and Troubleshooting

Tutorial·3971 views

ESP32 Buttons in Arduino: Wiring, Debouncing, and Interrupts

Tutorial·325 views

ESP32-C3 vs ESP32-S3 vs ESP32-C6: How to Choose for Real Firmware Projects

Tutorial·3125 views

ESP32 Arduino Button Input: Practical Guide and Debouncing

Tutorial·1483 views
View more in this category→
Copyright © 2026 ESP32Cube. All rights reserved.•1.0.1•Terms·Privacy
Source codeTwitterDiscord