I have a Java application that requires a connection to an external MySQL database. However, we have a restricted list of ip addresses that are able to log into the computer.The issue is one of our clients travels and therefore has a dynamic ip address. We have chosen the route to use http://www.noip.com to take into consideration the dynamic ip address. However, there's the issue on how to link the two programs together. The java application still refers to [ip address].hlrn.qwest.net rather than [sub-domain].no-ip.biz.
Is there a function I can use in Java to override what my ip address is used to connect to the database?
Thanks.