Win a copy of Machine Learning for Business: Using Amazon SageMaker and JupyterE this week in the Jython/Python forum
or Object Design Style Guide in the Object-Oriented programming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

how to connect to a site through proxy server(urgent)

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java is case sensitive,
props.put("http.proxyHost","192.168.1.1");
props.put("http.proxyPort","80");
(Notice the capital H and P)
Hope this helps
[This message has been edited by Carl Trusiak (edited January 09, 2001).]
I accidently deleted Dinesh's original post, sorry.
He ask why he was unable to connect throuh a proxy using the code
Properties props=System.getProperties();
props.put("http.proxyhost","192.168.0.1");
props.put("http.proxyport","80");
System.setProperties(props);

[This message has been edited by Carl Trusiak (edited January 09, 2001).]
 
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! Please enlighten me with what you are trying to do..
Tanx
Regds
Gautham Kasinath
 
gautham kasinath
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Well I need help on trying to get an applet through a proxy server to contact my server running on port 9090 outside the proxy.
Regds
Gautham Kasinath
 
It looks like it's time for me to write you a reality check! Or maybe a tiny ad!
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!