dbTalk Databases Forums  

[PHP] How to select the source ip address for a connection to the

mailing.database.pgsql-php mailing.database.pgsql-php


Discuss [PHP] How to select the source ip address for a connection to the in the mailing.database.pgsql-php forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
dimitris.sakellarios@telesuite.gr
 
Posts: n/a

Default [PHP] How to select the source ip address for a connection to the - 09-03-2009 , 01:33 AM






This message is in MIME format.

--=_4s20ksne6uio
Content-Type: text/plain;
charset=ISO-8859-7;
DelSp="Yes";
format="flowed"
Content-Description: =?iso-8859-7?b?zojOus60zr/Pg863IA==?=
=?iso-8859-7?b?zrzOt869z43OvM6xz4TOv8+CIA==?= =?iso-8859-7?b?zrzOtSA=?=
=?iso-8859-7?b?zrrOsc64zrHPgc+MIA==?= =?iso-8859-7?b?zrrOtc6vzrzOtc69zr8=?=
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable



Hi,

I am currently=A0working with PHP5+PGSQL 8.2.13 and i have the =20
following problem to solve and i need your help.

The server hosting PHP+psql=A0client=A0has 1 physical network =20
interfaces with multiple=A0subinterfaces using different IPs.

One of those IP=A0is dedicated to my domain, but it is not servers =20
default IP address since i share the server.

So the problem that i need to solve is how am i going to be able to =20
use-select my domains IP address as source=A0to connect to the remote =20
databases.

Is there any configuration to settle default source IP the client will us=
e?

At the moment all my attempts to connect to the database=A0make use =20
of=A0servers default interface IP as source.

Thanks in advance for your help.

--=_4s20ksne6uio
Content-Type: text/html;
charset=ISO-8859-7
Content-Description: HTML =?utf-8?b?zpXOus60zr/Pg863IA==?=
=?utf-8?b?z4TOv8+FIA==?= =?utf-8?b?zrzOt869zq7OvM6xz4TOv8+C?=
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

<p><font face=3D"verdana,arial,helvetica,sans-serif"
size=3D"2">Hi,</font></p><p><font face=3D"verdana,arial,helvetica,sans-serif=
"><font
size=3D"2">I am currently</font>=A0<font size=3D"2">working with PHP5+PGSQL =
8.2.13 and
i have the following problem to solve and i need your
help.</font></font></p><p><font face=3D"Verdana" size=3D"2">The server hosti=
ng
PHP+psql=A0client=A0has 1 physical network interfaces with multiple=A0subint=
erfaces
using different IPs.</font></p><p><font face=3D"Verdana" size=3D"2">One of t=
hose
IP=A0is dedicated to my domain, but it is not servers default IP address sin=
ce i
share the server.</font></p><p><font face=3D"Verdana" size=3D"2">So the prob=
lem that
i need to solve is how am i going to be able to use-select my domains IP add=
ress
as source=A0to connect to the remote databases.</font></p><p><font face=3D"V=
erdana"
size=3D"2">Is there any configuration to settle default source IP the client=
will
use?</font></p><p><font face=3D"Verdana" size=3D"2">At the moment all my att=
empts to
connect to the database=A0make use of=A0servers default interface IP as
source.</font></p><p><font face=3D"Verdana" size=3D"2">Thanks in advance for=
your
help.</font></p>
--=_4s20ksne6uio--

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.