• 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

Relation between Internet Explorer and Socket Connection

 
Ranch Hand
Posts: 452
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
i am developing a servlet in which i have to read data from some other web application(at present this another web application is running on different machine, but on same LAN). To do that i establish httpUrlConnection. Following is the code

the code gives java.net.SocketException while opening the connection.
I got even further confused when i added 192.100.100.249 in the list of "do not use proxy server for following ip addres" in Internet Explorer and my servlet started working correctly.
what i am not able to understand is the relation between establishing Socket Connection from a servlet and IE. I am using window 2000.
can any body help me.
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are we talking about IE running on the machine the servlet runs on -- in other words, the servlet is running on Windows?
 
Prakash Dwivedi
Ranch Hand
Posts: 452
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks for the reply Ernest.
Are we talking about IE running on the machine the servlet runs on
yes thats correct
in other words, the servlet is running on Windows?
i mentioned in my post that I am using window 2000.
[ February 04, 2004: Message edited by: Prakash Dwivedi ]
 
Ernest Friedman-Hill
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, but using it for what? Are you talking about IE and the servlet running on the same physical machine, or are you talking about IE being used to access the servlet from a client machine? While I'm asking, what servlet container are you using?
 
Prakash Dwivedi
Ranch Hand
Posts: 452
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am running my web application through JDeveloper which is having embedded OC4J.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic