Fish in the river

思考 技术
记录 回忆
  1. Main page
  2. 运维技术
  3. Windows
  4. Main content

use proxy in the windows cmd console

2025年8月18日 17hotness 0likes 0comments

Sometimes we need use proxy in the windows cmd console. for example pip install some package in the python environment.

next is how to set proxy temporary.

1. check if you can visit google in cmd console.if you see the picture ,that's mean you can't visit the google.

2. in the opened cmd console. use the next command to set temporary proxy.

set HTTP_PROXY=http://192.168.0.110:3128

set HTTPS_PROXY=http://192.168.0.110:3128

3.then use the next command to check if the temporary proxy is enabled.

curl -I www.google.com

if you the as shown in the figure below,it is mean the temporary proxy is enabled.

 

Tag: Windows
Last updated:2025年8月18日

joey

This person is a lazy dog and has left nothing

Like
< Last article

Comments

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
Cancel

归档

  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024

分类目录

  • C#
  • Dock
  • Esxi
  • Excel
  • Kindle
  • Linux
  • Windows
  • 生活感悟
  • 群晖
  • 运维技术

COPYRIGHT © 2024 水中小鱼. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang