Postgres dialect is not working in sequelize
<p>Running my Express project on a Windows 10 machine with pgAdmin4. </p>

<p>In <code>sequelize/config.json</code> file with <strong>postgres dialect</strong>, Sequelize gives some error.</p>

<pre><code>"development": {
    "username": "root",
    "password": null,
    "database": "database_development",
    "host": "127.0.0.1",
    "port": "5432",
    "dialect": "postgres"
  }
</code></pre>

<p>But with <strong>sqlite dialect</strong>, it works fine.</p>

<pre><code>"development": {
    "dialect": "sqlite",
    "storage": "./db.development.sqlite"
    }
</code></pre>

<p>Running <code>gulp watch</code> with postgres dialect, following errors come up:</p>

<pre><code>$ gulp watch
[22:00:43] Using gulpfile ~\friendly-stuff\gulpfile.js
[22:00:43] Starting 'build'...
[22:00:43] Starting 'clean'...
[22:00:43] Finished 'clean' after 28 ms
[22:00:43] Starting 'stylus'...
[22:00:43] Finished 'stylus' after 101 ms
[22:00:43] Finished 'build' after 132 ms
[22:00:43] Starting 'server:start'...
[22:00:43] Finished 'server:start' after 10 ms
[22:00:43] Starting 'watch'...
[22:00:43] Finished 'watch' after 20 ms
[22:00:44] Development server listening. (PID:12632)
Mon, 19 Sep 2016 02:00:44 GMT friendly-stuff:server Listening on port 3000
Unhandled rejection SequelizeConnectionRefusedError: 
connect ECONNREFUSED 127.0.0.1:5432 at 
C:\Users\user1\MyProj\node_modules\sequelize\lib\dialects\
postgres\connection-manager.js:98:20 at Connection.
</code></pre>

<p>I think there are some other configuration need to be added or changed. But I am not sure which one. Do you think the widows/pgadmin version I am using, are causing some of these errors or windows 10 firewall/security blocking the port? </p>