Re: Defining local IP address when opening connections to database

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Defining local IP address when opening connections to database
Дата
Msg-id 4F573B610200002500045F9F@gw.wicourts.gov
обсуждение исходный текст
Ответ на Defining local IP address when opening connections to database  (Michael Bauland <Michael.Bauland@knipp.de>)
Список pgsql-jdbc
Michael Bauland <Michael.Bauland@knipp.de> wrote:

> I've got a problem when using the PostgreSQL JDBC driver to open a
> connection to a database (not using SSL). The server on which I'm
> using the driver has several IPs configured, but I would like to
> use a certain IP (since only for that IP the firewalls have been
> set-up to allow the connection to the database). Looking at the
> documentation I couldn't find a way to define this local IP.
> Have I missed something?

You probably either need to read this:

http://www.postgresql.org/docs/current/interactive/runtime-config-connection.html#RUNTIME-CONFIG-CONNECTION-SETTINGS

or this:

http://jdbc.postgresql.org/documentation/head/connect.html

-Kevin

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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: Defining local IP address when opening connections to database
Следующее
От: "David Johnston"
Дата:
Сообщение: Re: Defining local IP address when opening connections to database