# Postgresql 11.2: Cannot connect

**URL:** <https://travis-ci.community/t/postgresql-11-2-cannot-connect/2680>\
**Category:** Xenial\
**Created:** [March 17, 2019, 11:05am UTC](https://travis-ci.community/t/postgresql-11-2-cannot-connect/2680 "2019-03-17T11:05:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)\
**Post date:** [March 18, 2019, 1:43pm UTC](https://travis-ci.community/t/postgresql-11-2-cannot-connect/2680/2 "2019-03-18T13:43:15Z")

</div>

Without looking into too much details yet, it appears to me that the package is found and configured to run on the next-available port, 5433: [https://travis-ci.org/keithpitty/kpdotcom/builds/507439479#L231](https://travis-ci.org/keithpitty/kpdotcom/builds/507439479#L231).

I would imagine that your `psql` by default will connect to port 5432, but nothing is listening on that port.

---

_[View the full topic](https://travis-ci.community/t/postgresql-11-2-cannot-connect/2680)._
