RE: howto set a source ip address?
"Mark Matthews" <[email protected]> Mon, 5 Feb 2007 19:21:50 -0600
| Newsgroups | gmane.comp.db.mysql.java |
|---|---|
| Message-ID | <017501c7498d$2fa928a0$9b1da8c0@marksworkbox> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > -----Original Message----- > From: Fabian Bieker [mailto:[email protected]] > Sent: Friday, February 02, 2007 5:34 AM > To: [email protected] > Subject: howto set a source ip address? > > Hi, > > Is it possible to tell to connector/j to use a specific source address > for its database conection? > > I googled and looked into the ml archive but was unable to find an > answer... > > Thanks for your help, > > Fabian Bieker Fabian, At this time, Connector/J does not support this feature. The Java socket API itself makes this rather cumbersome to do, in that one has to specify not only the source address, but a source port at the same time, so of course one would have collisions with other connections on the same local address. Is there a reason your routing doesn't take care of this for you? -Mark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) iD8DBQFFx9gutvXNTca6JD8RAumlAJwJNMJQQOk2HhZ/5vmpHY0eqyW6OACglP/C cDxC141QLbBIpA9C/DkMpaA= =Xlju -----END PGP SIGNATURE----- -- MySQL Java Mailing List For list archives: http://lists.mysql.com/java To unsubscribe: http://lists.mysql.com/[email protected]