Marcelo <mache_1999@xxxxxxxxx> wrote: > How Can I test the validity of a URL (something like a ping) without
> being blocked?
It appears that setConnectTimeout works only for the connection to the
remote host, not for DNS lookups before the connection is made. You can
pre-attempt the DNS lookup using JNDI, and set the JNDI environment
property com.sun.jndi.dns.timeout.initial to a value in milliseconds.
Then use the normal URLConnection mechanism to set the timeout for the
communication with the remote host itself.
--
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
.
Re: IIS not sending SMTP ... Please try to disable your software firewall (you will still be protected by ... "The connection was dropped by the remote host" ... and see what you have around the time you try to send to a remote host.... >>> Is the remote server the ISP in this case? ... (microsoft.public.inetserver.iis)
The connection was dropped by the remote host ... We are using Exchange 2003 on Windows 2003 Server as backend mail server. ... We have daily/periodic Event 4005 Warning ("The connection was dropped by ... nowaco.com.cn The connection was dropped by the remote host.... (microsoft.public.exchange2000.transport)
Re: The connection was dropped by the remote host ... I checked our SMTP configuration, in the general tab, the IP address is ... I am worrying about if remote host can see the full domain ... name instead of local server name, then it will drop a connection.... The second is that if you don' control your DNS and your reverse DNS ( ... (microsoft.public.inetserver.iis.smtp_nntp)
RE: SSH Attempts: Link to RedHat? ... I received a single connection attempt on three of my ... by remote host.... I connected to the website connected to this server,... and tracking system please see: http://aris.securityfocus.com ... (Incidents)
Re: dial-on-demand discarded packets ... > the packets, sent till the connection is etablished, to be discarded. ... you can use the pppd ktune option (or ... so that at most only some DNS lookups will be lost. ...timeout for DNS servers. ... (comp.protocols.ppp)