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

  • Home
  • SEARCH
  • 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 8872201
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T18:10:09+00:00 2026-06-14T18:10:09+00:00

I have installed PostgreSQL 9.1 on ubuntu 12.04 64-bit. I try to run Aplication

  • 0

I have installed PostgreSQL 9.1 on ubuntu 12.04 64-bit. I try to run Aplication Stack Builder and install pgAgent.

At first I am asked for root password, which I provide, after I choose PostgreSQL 9.1 on port 5433 as the only option. On next screen I tick pgAgent and click Next a few times to get to the Setup screen with verification the postgradeSQL installation details. The Host is local, the User Name is postgres and I type my password for postgrade which I use when open pgAdmin III. When I click next I have a warning:

psql.bin: could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connection on port 5432?

When I try pgAdmin it does work with password I provide but it looks for me like this password is not accepted by Stack Builder. I also provide my admin password on the begining so it should be able to do everything with sudo privilage. I don’t know what to do now and what is the problem. Should I run something else before Stack Builder?

  • 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-14T18:10:10+00:00Added an answer on June 14, 2026 at 6:10 pm

    Default postgres port number is 5432. You state in the beginning that your server runs on 5433, but error message shows that it cannot connect to localhost:5432.

    Typically, the only situation when 5433 is chosen automatically is when you install say PostgreSQL 9.1 when some previous version (8.4 or 9.0) was installed and running.
    To fix your problem, you may want to remove old installation and make sure that one that you need is listening on port 5432.

    In addition to that, by default PostgreSQL may not listen on network at all – you may need to adjust postgresql.conf to have this option:

    listen_addresses = '*'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed PostgreSQL and pgAdminIII on my Ubuntu Karmic box. I am able
I have a fresh ubuntu 10.10 install with all updates and postgresql 8.4 In
I just did my first install of PostgreSQL 9.1 on Ubuntu 10.04. note: I
I'm using postgresql in development for the first time and have successfully installed the
I have recently installed PostgreSQL on Ubuntu with the EnterpriseDB package. I can connect
I have a Tomcat and PostgreSQL installed on a server. I'm having a connection
I have installed Xampp for ubuntu. It is located in /opt/lampp. I want to
Somehow I've managed to completely bugger the install of postgresql on Ubuntu karmic. I
I've installed PostgreSQL using Brew (having previously tried to install using the standalone installer
I'm running 64-bit Solaris 10, and I have self-compiled Perl 5.10 and Postgresql 8.4.1

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.