Re: Defining local IP address when opening connections to database
От | Dave Cramer |
---|---|
Тема | Re: Defining local IP address when opening connections to database |
Дата | |
Msg-id | CADK3HHJMYT7NWS=5p3n=tjB_E9Nxqgzrp7W_yfJdhkKcqPPX6w@mail.gmail.com обсуждение исходный текст |
Ответ на | Defining local IP address when opening connections to database (Michael Bauland <Michael.Bauland@knipp.de>) |
Список | pgsql-jdbc |
Michael, The URL can take an ip address ie jdbc:postgresql://127.0.0.1/dbname Dave Cramer dave.cramer(at)credativ(dot)ca http://www.credativ.ca On Wed, Mar 7, 2012 at 11:20 AM, Michael Bauland <Michael.Bauland@knipp.de> wrote: > Hi, > > 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? If not, would it be possible to add this > feature of defining the local IP when setting up a connection? > > Cheers, > > Michael > > -- > Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-jdbc
В списке pgsql-jdbc по дате отправления: