Add postgres service to the firewall. If that doesn’t work, explicitly open the port 5433 in the firewall.
Anyway, given these settings, "psql -p 5433 -h localhost" should connect. If you still get "connection refused" then you need to look at the kernel firewall (packet filter) settings.
yes, with "-p 5433" I can connect
It was not necessary to change firewall settings because I was able to connect to the database with the "-p 5433" option