hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Newbie question port 8080
Date Mon, 19 May 2008 21:13:36 GMT
richard schmidt wrote:
> When I try and run this code, I always get a responce from a server at port
> 80.
> 

What makes you think so? Are you sure the request did not get redirected?

Please turn on wire / context logging to see exactly what kind of data 
gets transferred across the wire and on what port

http://hc.apache.org/httpclient-3.x/logging.html

Hope this helps

Oleg

> Which is rather odd, as the url clearly specifies port 8080!
> 
> 
> HttpClient client = *new* HttpClient();
> 
> HttpMethod get = *new* GetMethod(
> http://iceb_test:8080/ICECream/GUI/packageFabricate?customerName=junk&packageName=junk&transportType=EXPORT&submit=Fabricate+Package);
> 
> 
> I can open the url in a browser as expected....
> 
> The server is a Jboss / tomcat
> 
> On port 80 is apachie
> 
> 
> 
> thanks
> 
> Richard
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message