Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 1
    -L 5555:127.0.0.1:1234: why 1234? This must be the port number of Postgres on the remote. By default it's 5432. Commented Apr 23, 2021 at 15:00
  • I was just using 1234 as an example as I understand (I might be wrong) that different ports could be configured (even if 5432 is the default). Commented Apr 26, 2021 at 16:43
  • The point is that this number should be the port where the postgresql service is listening on your DO server on the localhost interface. Based on the error message, it's the port number of some other service. Commented Apr 26, 2021 at 17:07
  • You are completely rigth. I changed the port to 5432 and it worked. I am new to this forum. Should I post the answer or should you? Commented Apr 26, 2021 at 19:16
  • Nice. Sure, post an answer. Commented Apr 26, 2021 at 19:55