编辑conf目录下的setting.xml文件,在proxies节点下加入如下配置

    <proxy>
      <id>ss</id>
      <active>true</active>
      <protocol>http</protocol>
      <host>localhost</host>
      <port>1080</port>
      <nonProxyHosts>127.0.0.1|192.168.100.154|mirrors.163.com</nonProxyHosts>
    </proxy>

 

相关文章:

  • 2021-07-19
  • 2021-04-26
  • 2021-07-19
  • 2022-02-19
  • 2021-07-31
  • 2022-12-23
猜你喜欢
  • 2021-06-15
  • 2022-12-23
  • 2022-02-07
  • 2022-12-23
  • 2021-12-09
  • 2021-07-01
  • 2021-05-02
相关资源
相似解决方案