[OAI-implementers] Problem connecting to remote sites

Letts, David David.Letts@bl.uk
Tue, 15 Jan 2002 11:36:23 -0000


I am writing a Java program to harvest data from remote sites. I am using
the COGPrints site (http://cogprints.soton.ac.uk/perl.oai) as a test. I have
also tried many other sites (as listed in the Repository Explorer). When the
Java program tries to connect to the site it throws a
java.net.ConnectException with the message Conection refused.
I am displaying the URL that the program is using and when I paste this into
the browser then the records are returned correctly. If I use the program to
harvest data from our own repository (only available over a LAN at the
moment) then there isn't a problem.
I'm wondering if the problem is an .htaccess file is refusing the Java
program entry to the site?

Any ideas would be extremely welcome,

Thanks in advance,

David Letts


*********************************************************************
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. 
*********************************************************************