• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Servlet-Applet Communication.

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
I have written a program for applet-servlet communication (Using Tomcat).When i tried with in the lan it is working fine. But when i tried from outside using public IP (DNS registered) it is giving Connection timed out error. Can any one give a solution for this. It is very urgent..
Thanks before..
Srinivas
 
Vemula Srinivas
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i got the solution for my problem. When we are accessing from outside lan, there may be a proxy, if yor are using dial-up connection no problem. If any proxy is there then set the proxy properties using the following methods and try.
java.util.Properties prop=System.getProperties();
prop.setProperty("proxySet","true");
prop.setProperty("proxyHost","proxyip");
prop.setProperty("proxyPort","proxyportno");
System.setProperties(prop);
 
Can you hear that? That's my theme music. I don't know where it comes from. Check under this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic