# 서버가 로컬에서 실행 중이며 해당 소켓에서 연결을 수락하고 있나요?

**URL:** https://meta.discourse.org/t/is-the-server-running-locally-and-accepting-connections-on-that-socket/205307
**Category:** Development
**Created:** [10월 5, 2021, 11:37오후 UTC](https://meta.discourse.org/t/is-the-server-running-locally-and-accepting-connections-on-that-socket/205307 "2021-10-05T23:37:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![natasha\_selvidge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natasha_selvidge/32/235894_2.png) [@natasha\_selvidge](https://meta.discourse.org/u/natasha_selvidge)
#### Post date: [10월 5, 2021, 11:37오후 UTC](https://meta.discourse.org/t/is-the-server-running-locally-and-accepting-connections-on-that-socket/205307/1 "2021-10-05T23:37:58Z")

</div>

![Screen Shot 2021-10-05 at 4.35.13 PM](https://global.discourse-cdn.com/meta/original/3X/5/f/5f3609d20fef0090219f4760fddf6180dce9ac9b.png)

d/rails s를 실행하면 이 오류가 발생합니다. 도움을 주시겠어요? 감사합니다!

---

<div class="post-metadata">

### Author: ![Simsnet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simsnet/32/72855_2.png) [@Simsnet](https://meta.discourse.org/u/Simsnet)
#### Post date: [10월 6, 2021, 6:03오전 UTC](https://meta.discourse.org/t/is-the-server-running-locally-and-accepting-connections-on-that-socket/205307/2 "2021-10-06T06:03:20Z")

</div>

인스턴스를 중지해 보세요. 컨테이너가 실행 중인 상태에서 부트스트랩을 시도할 때 PostgreSQL 연결 문제가 발생하는 경우가 있습니다.

---

<div class="post-metadata">

### Author: ![natasha\_selvidge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natasha_selvidge/32/235894_2.png) [@natasha\_selvidge](https://meta.discourse.org/u/natasha_selvidge)
#### Post date: [10월 7, 2021, 5:08오후 UTC](https://meta.discourse.org/t/is-the-server-running-locally-and-accepting-connections-on-that-socket/205307/3 "2021-10-07T17:08:35Z")

</div>

매번 postgres를 중지하려고 하면 같은 포트에서 새 인스턴스가 생성되었습니다. brew로 설치했기 때문이죠. 그래서 brew로 완전히 제거했는데, 이제 잘 작동합니다! Glenn, 정말 감사합니다!
