Proxy server configuration can also be configured in grails by adding a proxy server and installing a proxy server.
grails add-proxy myproxy "--host = myproxy" "--port = myport" "--username = proxyuser" "--password = mypassword" grails set-proxy myproxy see grails docs .
if the solution above does not work, try creating ProxySettings.groovy in the folder C: \ Documents and Settings \ user-name.grails
add the following two lines to this file and save
myproxy=["http.proxyHost":"myproxy", "http.proxyPort":"4300", "http.proxyUserName":"proxyuser", "http.proxyPassword":"mypassword"] currentProxy="myproxy"
please check this link for more options
source share