title: psql: could not connect to server: Connection refused (0x0000274D/10061) in windows
body: <p>I am trying to run psql.exe from command line. I am getting error as below.</p>
  
  <pre><code>C:\&gt;cd C:\Program Files\PostgreSQL\8.3\bin
  
  C:\Program Files\PostgreSQL\8.3\bin&gt;psql.exe
  psql: could not connect to server: Connection refused (0x0000274D/10061)
          Is the server running on host "???" and accepting
          TCP/IP connections on port 5432?
  </code></pre>
  
  <p>Can any one help how to resolve it.</p>
  
  <p>Thanks in advance.</p>