• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Relation between Internet Explorer and Socket Connection

 
Prakash Dwivedi
Ranch Hand
Posts: 452
  • Mark post as helpful
  • send pies
  • 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.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • 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
  • 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
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
I am running my web application through JDeveloper which is having embedded OC4J.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic