I am trying to run manage.py migrate for a project I uploaded that runs locally OK in Linux. I get the following error, using a console in my local environment:
connection to server on socket "/var/run/postgresql/.s.PGSQL.5432
This is the same port that I run it in my local Linux box. However, I have tried to set the postgres parameters in my .env file:
EXERCY_DBUSER=<myuser>
EXERCY_DBPASSWORD=<mypassword>
EXERCY_DBHOST=cycleWatts-4082.postgres.pythonanywhere-services.com
EXERCY_DBPORT=14082
Why is the migrate not looking in the proper port? I have searched everywhere, and do not see where the port 5432 is coming from here. It is the default the postgresql uses, but it is not in my settings in PAW.