java.net.connection error

hi friends,

i tried connecting to a url through java coding. i am getting the following error

java.net.connectionException: Tried all:'1' addresses but could not connect over HTTP to server:<domain name> : port <port no>

when i tried opening the url in the browser, i could open the page without any error. can any one help me , y i am getting this error .

[396 byte] By [arun.kumara] at [2007-10-3 4:13:24]
# 1
There is no such exception.What did you really get and what was the message that came with it?
ejpa at 2007-7-14 22:14:28 > top of Java-index,Archived Forums,Socket Programming...
# 2
Show us the Exception.printStackTrace() output
watertownjordana at 2007-7-14 22:14:28 > top of Java-index,Archived Forums,Socket Programming...
# 3
hi buddyI have got the solution for that. The problem was with the server. thanks for ur response.
arun.kumara at 2007-7-14 22:14:28 > top of Java-index,Archived Forums,Socket Programming...