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
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.
cernicky Posted February 19, 2018 Author Posted February 19, 2018 yes, localhost gives more sense ok, i will try localhost
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now