Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8194019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T04:40:47+00:00 2026-06-07T04:40:47+00:00

This is my first time using postgresql. I have checked and the server definitely

  • 0

This is my first time using postgresql. I have checked and the server definitely seems to be running but I am getting this error when I start foreman

[...]postgresql_adapter.rb:1206:in `initialize': could not connect to server: No such file or directory (PG::Error)

Any ideas what’s going wrong?

Thanks

UPDATE:

I opened pgAdmin and the db is set to listen on port 8000 instead of 5432 (which seems to be what rails wants). I have tried creating a new connection and setting it to 5432 but I get this error:

Server doesn’t listen

The server doesn’t accept connections: the connection library reports

could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?
could not connect to server: Connection refused
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
Is the server running on host "localhost" (fe80::1) and accepting TCP/IP connections on port 5432?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T04:40:49+00:00Added an answer on June 7, 2026 at 4:40 am

    I got Foreman to work again by modifying my database.yml file. I had to change the port to 8000 (which postgres was listening on).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is my first time using lightbox which uses jquery framework. But when I
This is my first time using Drupal and I am loving it, but there
This is my first time using stackoverflow for a question, I have read a
This is my first time using JQuery in any of my projects. I have
This is my first time using java to access databases, so I probably have
This is my first time using Protocols in Objective-C, and I'm running into a
This is my first time using StackOverflow myself. I have found many answers to
I'm using postgresql in development for the first time and have successfully installed the
This is my first time using SAXParser, (I'm using it in Android, but I
This is my first time using map tag in html. I assume getting the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.