{"action":"created","issue":{"url":"https://api.github.com/repos/lukesampson/scoop/issues/433","labels_url":"https://api.github.com/repos/lukesampson/scoop/issues/433/labels{/name}","comments_url":"https://api.github.com/repos/lukesampson/scoop/issues/433/comments","events_url":"https://api.github.com/repos/lukesampson/scoop/issues/433/events","html_url":"https://github.com/lukesampson/scoop/issues/433","id":96686636,"number":433,"title":"PG::ConnectionBad error for Postgresql installation with Scoop","user":{"login":"chidumaga","id":2510116,"avatar_url":"https://avatars.githubusercontent.com/u/2510116?v=3","gravatar_id":"","url":"https://api.github.com/users/chidumaga","html_url":"https://github.com/chidumaga","followers_url":"https://api.github.com/users/chidumaga/followers","following_url":"https://api.github.com/users/chidumaga/following{/other_user}","gists_url":"https://api.github.com/users/chidumaga/gists{/gist_id}","starred_url":"https://api.github.com/users/chidumaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chidumaga/subscriptions","organizations_url":"https://api.github.com/users/chidumaga/orgs","repos_url":"https://api.github.com/users/chidumaga/repos","events_url":"https://api.github.com/users/chidumaga/events{/privacy}","received_events_url":"https://api.github.com/users/chidumaga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-22T23:03:29Z","updated_at":"2015-07-29T08:33:12Z","closed_at":null,"body":"I used Scoop to install Postgresql on my Windows 7 machine. When I try to start up the Rails app for which Postgres was installed I get the following error:\r\n\r\n```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? 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? 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? 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? 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? 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? 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? 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? 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?```\r\n\r\nI gather that this error could come from settings in the postgresql.conf file that comes with a Postgres install but I can neither find this file nor pg_hba.conf in the directory where Scoop installs Postgres (on my machine this is `C:/Users/<Username>/AppData/Local/scoop/apps` and thus cannot tweak accordingly. What else might be causing this error?"},"comment":{"url":"https://api.github.com/repos/lukesampson/scoop/issues/comments/125880578","html_url":"https://github.com/lukesampson/scoop/issues/433#issuecomment-125880578","issue_url":"https://api.github.com/repos/lukesampson/scoop/issues/433","id":125880578,"user":{"login":"chidumaga","id":2510116,"avatar_url":"https://avatars.githubusercontent.com/u/2510116?v=3","gravatar_id":"","url":"https://api.github.com/users/chidumaga","html_url":"https://github.com/chidumaga","followers_url":"https://api.github.com/users/chidumaga/followers","following_url":"https://api.github.com/users/chidumaga/following{/other_user}","gists_url":"https://api.github.com/users/chidumaga/gists{/gist_id}","starred_url":"https://api.github.com/users/chidumaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chidumaga/subscriptions","organizations_url":"https://api.github.com/users/chidumaga/orgs","repos_url":"https://api.github.com/users/chidumaga/repos","events_url":"https://api.github.com/users/chidumaga/events{/privacy}","received_events_url":"https://api.github.com/users/chidumaga/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T08:33:12Z","updated_at":"2015-07-29T08:33:12Z","body":"Thanks for your answer. Do you mind briefly explaining why the database needs to be started manually? Just installing and configuring Postgres seemed to have done the trick."}}