cernicky Posted February 19, 2018 Posted February 19, 2018 Hi everyone, I can remotely access my postgresql db with url 'jdbc:postgresql://johnny.heliohost.org:5432/name_of_db' but, if I would have war file deployed on johny server together with PostgreSQL, how will this url change? It will stay the same? Or instead of 'johnny.heliohost.org' should be 'localhost'? Thanks in advance Quote
wolstech Posted February 19, 2018 Posted February 19, 2018 I'd use localhost since the script will be living on the server with the database. Quote
cernicky Posted February 19, 2018 Author Posted February 19, 2018 yes, localhost gives more sense ok, i will try localhost Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.