[OAI-implementers] Problem connecting to remote sites

Letts, David David.Letts@bl.uk
Tue, 15 Jan 2002 13:27:11 -0000


Thanks for the quick response and information provided. The link to the
article proved extremely helpful. The program now connects succesfully.

Thank you,

David.

-----Original Message-----
From: Leigh Dodds [mailto:ldodds@ingenta.com]
Sent: 15 January 2002 12:29
To: Tim Brody; oai-implementers@oaisrv.nsdl.cornell.edu
Cc: Letts, David
Subject: RE: [OAI-implementers] Problem connecting to remote sites


> It may be that you are sitting behind a firewall, which is crossed using a
> HTTP proxy. Try manually connecting to an external HTTP server using
telnet
> (# telnet servername 80). Also look in your Web browser's connection
> settings. If you are firewalled you will need to implement proxy support
> (basically connect to your proxy and send the same request, and things
> should work).

Proxy problems are a frequent cause of failures to connect from the 
java.net.URL class. Happily however you just need to tell the VM about 
your proxy settings to get this to work transparently.

Here's a javaworld tip that you might find useful:

http://www.javaworld.com/javaworld/javatips/jw-javatip42.html

Cheers,

L.


-- 
Leigh Dodds, Research Group, Ingenta | "Pluralitas non est ponenda
http://weblogs.userland.com/eclectic |    sine necessitate"
http://www.xml.com/pub/xmldeviant    |     -- William of Ockham


*********************************************************************
The information contained in this e-mail is confidential and may be 
legally privileged. It is intended for the addressee(s) only. If you 
are not the intended recipient, please delete this e-mail and notify 
the postmaster@bl.uk : The contents of this e-mail must not be 
disclosed or copied without the sender's consent. 

The statements and opinions expressed in this message are those of 
the author and do not necessarily reflect those of the British 
Library. The British Library does not take any responsibility for 
the views of the author. 
*********************************************************************