How do I change Postgresql to be listening on port 5432?
ypercube and deszo were able to get this user's environment up and running (per the chat transcript).

The key seemed to be running:

sudo pg_ctlcluster 9.6 main restart


but not running it as the postgres user.

See the chat log for more details.