Not sure if this will work, but try to use ssh to setup a SOCKS proxy via
the  -D 9999 command option.
Then use the socksProxyHost and socksProxyPort via the java command line
(ie java -DsocksProxyHost="localhost")  or
System.setProperty("socksProxyHost","localhost") from your code. Make sure
to specify both the host and the port.
See
http://docs.oracle.com/javase/7/docs/api/java/net/doc-files/net-properties.html



On Tue, Sep 16, 2014 at 3:25 PM, Michael Joyner <mich...@newsrx.com> wrote:

> I am in a situation where I need to access a solrcloud behind a firewall.
>
> I have a tunnel enabled to one of the zookeeper as a starting points and
> the following test code:
>
> CloudSolrServer server = new CloudSolrServer("localhost:2181");
> server.setDefaultCollection("test");
> SolrPingResponse p = server.ping();
> System.out.println(p.getRequestUrl());
>
> Right now it just "hangs" without any errors... what additional ports need
> forwarding and other configurations need setting to access a solrcloud over
> a ssh tunnel or tunnels?
>

Reply via email to