I am attempting to run my existing Laravel 11 project with Herd on Windows. To avoid conflicting with a Docker PostgreSQL container already using port 5432, I set up the PostgreSQL service in Herd to use port 5433. I also changed the port number in the .env file to reflect that. I even opened up the postgresql.conf file in Herd's config directory, uncommented the port = line, changed it to 5433, and restarted the service afterward.
Although I can connect to the service perfectly fine using PhpStorm's database viewer (because I can specify the port number as 5433 with it), I still cannot run a simple php artisan migrate:fresh.
SQLSTATE[08006] [7] could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432? (Connection: pgsql, SQL: select exists (select 1 from pg_class c, pg_namespace n where n.nspname = 'public' and c.relname = 'migrations' and c.relkind in ('r', 'p') and n.oid = c.relnamespace))
The port number must still be listed as 5432 somewhere in Herd, but I can't find it to change it. What am I missing?