As title, my network is behind a proxy.
I add the following text to appengine-web.xml
<property name="http.proxyHost" value="10.1.1.1"/>
<property name="http.proxyPort" value="8080"/>
<property name="https.proxyHost" value="10.1.1.1"/>
<property name="https.proxyPort" value="8080"/>
and, the appcfg.cmd file is as follow (I use windows XP and jdk 1.6):
@java -cp -Dhttp.proxyHost=10.1.1.1 -Dhttp.proxyPort=8080 -
Dhttps.proxyHost=10.1.1.1 -Dhttps.proxyPort=8080 "%~dp0\..\lib
\appengine-tools-api.jar" com.google.appengine.tools.admin.AppCfg %*
but, my application throws an IOException.
my code is:
URL url = new URL("http://i-plaza.appspot.com/
index.html");
InputStream inputStream;
HttpURLConnection connection = (HttpURLConnection)
url.openConnection();
connection.connect();
inputStream = connection.getInputStream();
//...
It does work in anywhere without proxy.
Would you kindly help me ?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.