# האם ניתן להתקין עם IPv6 מושבת?

**URL:** https://meta.discourse.org/t/is-it-possible-to-install-with-ipv6-disabled-spoiler-i-dont-think-so/381373
**Category:** Self-hosting
**Created:** [2 בספטמבר,‏ 2025,‏ 9:37pm UTC](https://meta.discourse.org/t/is-it-possible-to-install-with-ipv6-disabled-spoiler-i-dont-think-so/381373 "2025-09-02T21:37:39Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2 בספטמבר,‏ 2025,‏ 9:37pm UTC](https://meta.discourse.org/t/is-it-possible-to-install-with-ipv6-disabled-spoiler-i-dont-think-so/381373/1 "2025-09-02T21:37:39Z")

</div>

I see in the web template where it checks to see if `/proc/net/if_inet6` exists and turns off the listen for `[::]:80`, but there’s still one in the default nginx file.

I added these to try to fix that:

```plaintext
  - exec: sed -i '/listen \[::\]:80 default_server;/d' /etc/nginx/sites-available/default
  - exec: sed -i 's/listen 80 default_server;/listen 0.0.0.0:80 default_server ipv6only=off;/' /etc/nginx/sites-available/default
  - exec: sed -i 's/listen 80 default_server;/listen 0.0.0.0:80 default_server ipv6only=off;/' /etc/nginx/conf.d/discourse.conf

```

But I still see this in the logs:

```plaintext
2025/09/02 21:34:29 [emerg] 359#359: socket() [::]:80 failed (97: Address family not supported by protocol)
2025/09/02 21:34:34 [notice] 3240#3240: signal process started
2025/09/02 21:34:34 [error] 3240#3240: open() "/run/nginx.pid" failed (2: No such file or directory)

```

A long time ago, it seemed impossible:

> [@Docker constantly restarting after turning off ipv6 no longer running on the host](https://meta.discourse.org/t/docker-constantly-restarting-after-turning-off-ipv6-no-longer-running-on-the-host/260277/2):
>
> Nginx can’t boot because you broke it by disabling IPv6.

Has anyone actually made Discourse work with IPv6 disabled at the kernel level?

(Why? Because the VM someone supplied has IPv6 turned off. It took months for them to provision a VM that they would let me access.)

---

<div class="post-metadata">

### Author: ![featheredtoast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/featheredtoast/32/116994_2.png) [@featheredtoast](https://meta.discourse.org/u/featheredtoast)
#### Post date: [2 בספטמבר,‏ 2025,‏ 10:58pm UTC](https://meta.discourse.org/t/is-it-possible-to-install-with-ipv6-disabled-spoiler-i-dont-think-so/381373/2 "2025-09-02T22:58:26Z")

</div>

ספק. הסרתי לאחרונה גם שורה דומה בקובץ ה-ssl עם כמה עיניים מאת @schleifer - פשוט עוד לא הגעתי לתבנית האינטרנט.

תמיכה ב-IPv6 אפויה למדי בחבילה שלנו, כך שדי קשה להוציא אותה בצורה נקייה בכל מקום, ולספק אימות/תמיכה עבורה.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2 בספטמבר,‏ 2025,‏ 11:14pm UTC](https://meta.discourse.org/t/is-it-possible-to-install-with-ipv6-disabled-spoiler-i-dont-think-so/381373/3 "2025-09-02T23:14:50Z")

</div>

תודה רבה על האישור המהיר! הייתי די בטוח שזה המצב, ואני מקל על כך שלא התעלמתי מפתרון פשוט וברור כלשהו.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2 באוקטובר,‏ 2025,‏ 11:15pm UTC](https://meta.discourse.org/t/is-it-possible-to-install-with-ipv6-disabled-spoiler-i-dont-think-so/381373/4 "2025-10-02T23:15:50Z")

</div>

נושא זה נסגר אוטומטית 30 יום לאחר התגובה האחרונה. לא ניתן להוסיף תגובות חדשות.
