Java proxies connection to postgres

Поиск
Список
Период
Сортировка
От -
Тема Java proxies connection to postgres
Дата
Msg-id AANLkTimPbHhimxz48Yva7apqBaTFH=DvDww-3gb1pc2h@mail.gmail.com
обсуждение исходный текст
Ответы Re: Java proxies connection to postgres
Список pgsql-jdbc
Could someone help me or suggest a solution? I want to connect from a computer that has firewall to other where the postgres server run. The problem is that computer (client) has a firewall and I have not access to configure it, or open ports, ping does not respond. The computer (server) where PostgreSQL has open ports but I can not connect to it from another because of firewall. I can only access the computer through proxy.
How I could with Java programming access remotely through proxy to postgres forgetting firewall?
 Java has a connection with proxies. But I dont now how put together with postgres connection.
Thank you all.
the same text in Spanish, sorry for bad English

Me podría ayudar alquien o sugerir la solución? Yo quiero conectarse desde ordenador que tiene firewall a servidor donde esta postgres. El problema esta que ordenador (cliente) tiene firewall y yo no tengo acceso para configurar a el, o abrir puertos, ping no contesta. El ordenador (servidor) donde esta postgre tiene abiertos puertos pero no puedo conectarme a el desde otro por causa de firewall. Solo puedo acceder a ordenador a través de proxy.
Como podría programando con Java acceder remotamente a través de proxy a postgres pasando el firewall?
 Java tiene conexión con  proxys. Pero no se como juntar con conexión a postgres.
Gracias a todos.

System.getProperties().put( "proxySet", "true" );
            System.getProperties().put( "proxyHost", "67.210.82.198" );
            System.getProperties().put( "proxyPort", "80" );
           
            URL validateURL = new URL("http://domain.com");
            URLConnection urlConnection = validateURL.openConnection();
           
            //how put together ???
           
            Class.forName("org.postgresql.Driver");
            Connection connection = DriverManager.getConnection("jdbc:postgresql://ipPublica:5432/DataBase","user", "pass");

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: one more question about LISTEN / NOTIFY
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Java proxies connection to postgres