---
title: "Discussion on \"How to kill the process on a port on a Mac (and what to do when it comes back)\" | Hashnode"
description: "Discussion on \"How to kill the process on a port on a Mac (and what to do when it comes back)\". One command frees the port. Here's the safe way to run it, and why Postgres is back a second later."
url: "https://hashnode.com/posts/how-to-kill-the-process-on-a-port-on-a-mac-and-what-to-do-when-it-comes-back/6adb02f2eae7cf0fb8b04c1c"
---

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

Discussion

# [How to kill the process on a port on a Mac (and what to do when it comes back)](https://portlivo.hashnode.dev/how-to-kill-the-process-on-a-port-on-a-mac-and-what-to-do-when-it-comes-back?utm_source=hashnode&utm_medium=feed)

One command frees the port. Here's the safe way to run it, and why Postgres is back a second later.

Oct 23 · 4 min read · portlivo.hashnode.dev  
Read the article

-   [#macos](https://hashnode.com/tag/macos)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)
-   [#terminal](https://hashnode.com/tag/terminal)
-   [#developer-tools](https://hashnode.com/tag/developer-tools)

## Written by

[Anmol Sethi](https://hashnode.com/@anmolsethi)

@anmolsethi · Mumbai, India

  
[View profile](https://hashnode.com/@anmolsethi)

Indie Developer · Building digital products

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
