cernicky Posted February 19, 2018 Share 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 Link to comment Share on other sites More sharing options...
wolstech Posted February 19, 2018 Share Posted February 19, 2018 I'd use localhost since the script will be living on the server with the database. Quote Link to comment Share on other sites More sharing options...
cernicky Posted February 19, 2018 Author Share Posted February 19, 2018 yes, localhost gives more sense ok, i will try localhost Quote Link to comment Share on other sites More sharing options...
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.