I have installed PostgreSQL 9.6.2 on my Windows 8.1. But the pgadmin4 is not able to contact the local server. I have tried several solutions suggested here in stackoverflow
Just click on that pgadmin 4 icon and run as administrator. Allow the access permissions. It will start locally.