I am using asp net core 2 developed a web application and deployed in Ubuntu 16.04 which is running well when I go to browser. Every tabs on my website is working but when I try to log in with my account it loads for some time and shows error page. I don't know what's wrong here :( I am guessing it is because of I didn't configure remote connection to Postgresql properly.
My question is: should I install Postgresql to my server (which is Ubuntu 16.04) and copy all my data there? Or should I continue remote connetion to database? What would be a good way?