[OAI-implementers] Problem connecting to remote sites

Leigh Dodds ldodds@ingenta.com
Tue, 15 Jan 2002 12:29:23 -0000


> 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