---
title: "Discussion on \"Fix Is the server running on host \"localhost\" (::1) and accepting TCP/IP connections on port 5432?\" | Hashnode"
description: "Discussion on \"Fix Is the server running on host \"localhost\" (::1) and accepting TCP/IP connections on port 5432?\". Most likely it's because your system shutdown unexpectedly Try\npostgres -D /opt/homebrew/var/postgres # for Intel M1\npostgres -D /usr/local/var/postgres # for Silicon\n\nYou might see\nFATAL:  lock file \"postmaster.pid\" already exists\nHINT:  Is another ..."
url: "https://hashnode.com/posts/fix-is-the-server-running-on-host-localhost-1-and-accepting-tcpip-connections-on-port-5432/619b6cec83f48a50ad999881"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Fix Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?](https://blog.victor-abz.com/fix-is-the-server-running-on-host-localhost-1-and-accepting-tcpip-connections-on-port-5432?utm_source=hashnode&utm_medium=feed)

Most likely it's because your system shutdown unexpectedly Try postgres -D /opt/homebrew/var/postgres # for Intel M1 postgres -D /usr/local/var/postgres # for Silicon You might see FATAL: lock file "postmaster.pid" already exists HINT: Is another ...

Nov 22, 2021 · 1 min read · blog.victor-abz.com  
Updated Oct 2, 2023  
Read the article

-   [#postgresql](https://hashnode.com/tag/postgresql)

## Written by

[Abizeyimana Victor](https://hashnode.com/@victor-abz)

@victor-abz

  
[View profile](https://hashnode.com/@victor-abz)

Software Engineer

I will raise your revenues or decrease your costs using solutions based on logic and in most cases, it will involve a computer. Design - Build - Improve. I design solutions to your business problem, build it with you and your team and finally scale the solution to fix other related problems. I use Javascript and Python as the main languages for development but I am eager and faster to learn anything that would be put a solution on the table.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
