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 184.108.40.206 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.
Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
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 ]
author and iconoclast
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?
Joined: Sep 28, 2002
I am running my web application through JDeveloper which is having embedded OC4J.
subject: Relation between Internet Explorer and Socket Connection