> Hi all,
>
[quoted text clipped - 9 lines]
> thanks and regards,
> Arun
Are you able to ping the remote host?
http://www.mysitespace.com/howtoping.asp
- Oliver
arunkumar.mit@gmail.com - 09 Nov 2006 05:41 GMT
No i am not able to ping to remote host, how can i do it. I am able to
get response on a browser from the url but when i try it using httpunit
webconversation and webrequest i am get the error
> > connnection Exception: connection refused; connect
Is there any thing i need to change in the configuration.
regards,
arun
> > Hi all,
> >
[quoted text clipped - 15 lines]
>
> - Oliver
Oliver Wong - 09 Nov 2006 15:37 GMT
> No i am not able to ping to remote host, how can i do it. I am able to
> get response on a browser from the url but when i try it using httpunit
> webconversation and webrequest i am get the error
You should probably forget about pinging. The telnet advice than Jan
gave you is better. Pinging might give you a false negative if the server is
configured to ignore pings.
- Oliver
arunkumar.mit@gmail.com - 10 Nov 2006 06:29 GMT
Hi,
When i trying use it by means of telnet the connection is refused,
so is that i might be behind proxy. Or wht could go worng in this. In
httpunit they just given the the url directly as "www.meterware.com" to
get the response when i try to do it, The error pops. Is there anything
they were missing in explaining this, is so let me know it
cheers,
Arun.
> <arunkumar....@gmail.com> wrote in messagenews:1163050910.595774.53960@b28g2000cwb.googlegroups.com...
>
[quoted text clipped - 5 lines]
>
> - Oliver
Martin Gregorie - 10 Nov 2006 15:35 GMT
> Hi,
>
[quoted text clipped - 3 lines]
> get the response when i try to do it, The error pops. Is there anything
> they were missing in explaining this, is so let me know it
Well, from where I'm sitting
- ping works
- I can telnet to port 80
- my browser can fetch the main page
You'd better check that you aren't using a proxy and/or being blocked by
a firewall on your site.

Signature
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |
arunkumar.mit@gmail.com - 09 Nov 2006 05:41 GMT
No i am not able to ping to remote host, how can i do it. I am able to
get response on a browser from the url but when i try it using httpunit
webconversation and webrequest i am get the error
> > connnection Exception: connection refused; connect
Is there any thing i need to change in the configuration.
regards,
arun
> > Hi all,
> >
[quoted text clipped - 15 lines]
>
> - Oliver
> Hi all,
>
[quoted text clipped - 9 lines]
> thanks and regards,
> Arun
Make sure a few things:
1. The remote host is listening on the port you are trying to connect
to (often 80, or 8080)
2. The host you are connecting to is reachable from the host you are
on. (using ping, for instance)
3. You are specifying the correct host name and port.
Hope this helps. Good luck.
ChrisWSU - 08 Nov 2006 19:37 GMT
are you behind a NAT device? (linksys/netgear/dlink type router?)
arunkumar.mit@gmail.com - 09 Nov 2006 06:22 GMT
Yes i am behind Network Adapter Translation, is it possible to get the
response when we are behing NAT device. If possible let me know it.
Thanks
> are you behind a NAT device? (linksys/netgear/dlink type router?)
arunkumar.mit@gmail.com - 09 Nov 2006 05:51 GMT
How to make sure the remote host is listening to the port i am
connecting, iam just giving the url from which i want the response.
Its really help full to trace the bug.
Thanks
Arun
> > Hi all,
> >
[quoted text clipped - 18 lines]
>
> Hope this helps. Good luck.
JanTheKing - 09 Nov 2006 07:54 GMT
To check if a server is listening at a particular port or not - you
have to follow the following steps in the command prompt:
telnet <server-name> <port>
Note: the port for http protocol defaults to 80 and that for https
protocol defaults to 443.
Cheers,
Jan
> How to make sure the remote host is listening to the port i am
> connecting, iam just giving the url from which i want the response.
[quoted text clipped - 26 lines]
> >
> > Hope this helps. Good luck.
Ian Wilson - 10 Nov 2006 14:19 GMT
>>> I am beginner in httpunit i am trying to get resonse from a
>>> remote host, but i am not able to get it
[quoted text clipped - 12 lines]
> How to make sure the remote host is listening to the port i am
> connecting, iam just giving the url from which i want the response.
You say you can reach this remote host using a web-browser? Does the
web-browser have a local http-proxy configured?
In Internet Explorer, select the "Tools" menu, "Internet Options",
"Connections", "LAN Settings" and see if the "Proxy" is ticked.