---
title: "Grails add&set proxy."
author: "LoriSun"
date: "2011-09-14T17:23:08Z"
tags: []
categories: ["企业架构"]
slug: "grails-add-set-proxy"
draft: false
lastmod: "2011-09-14T17:23:08Z"
id: 1171926
url: "https://lorisun.iteye.com/blog/1171926"
---

cmd>grails add-proxy webProxy --host=webproxy.com --port=8080 --username=guest --password=guest

cmd>grails set-proxy webProxy


file: C:\Documents and Settings\${loginUserName}\.grails\ProxySettings.groovy

webProxy=["http.proxyHost":"webproxy.com", "http.proxyPort":"8080", "http.proxyUser":"", "http.proxyPassword":""]
currentProxy="webProxy"