> For the complete documentation index, see [llms.txt](https://vitrina-blogerov.gitbook.io/bloggers-showcase/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vitrina-blogerov.gitbook.io/bloggers-showcase/vozmozhnye-oshibki/porty-80-ili-443-zanyaty.md).

# Порты 80 или 443 заняты

Установщик сообщает, что порт занят, или установка останавливается на проверке HTTP/HTTPS.

### Симптомы

* установка пишет, что `80` или `443` уже используются;
* Caddy edge не запускается;
* на домене открывается другой сайт;
* новый язык не добавляется корректно.

### Вероятные причины

* на сервере уже работает Nginx;
* установлен Apache;
* запущен другой Caddy;
* есть панель хостинга;
* остался старый сайт или старая демоверсия;
* порт занимает другой Docker-контейнер.

### Что проверить

```bash
sudo ss -ltnp | grep -E ':80|:443'
```

Проверьте Docker-контейнеры:

```bash
sudo docker ps
```

### Как исправить

{% tabs %}
{% tab title="Это старый сайт" %}
Остановите старый сервис, если он больше не нужен, затем повторите установку.
{% endtab %}

{% tab title="Это Bloggers Bot Platform" %}
Если на сервере уже установлена другая языковая версия платформы, общий Caddy edge может использоваться повторно. Новую языковую версию нужно ставить на тот же домен.
{% endtab %}

{% tab title="Это чужой сервис" %}
Если порт занимает важный сторонний проект, не останавливайте его без понимания последствий. Лучше использовать отдельный сервер или отдельную схему размещения.
{% endtab %}
{% endtabs %}

{% hint style="danger" %}
Не удаляйте Nginx, Apache, Caddy или Docker-контейнеры вслепую. Сначала убедитесь, что они не обслуживают другой рабочий проект.
{% endhint %}

### Когда обращаться в поддержку

Если вы не понимаете, какой процесс занимает порт, отправьте специалисту вывод команды `ss -ltnp` и список `docker ps`.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://vitrina-blogerov.gitbook.io/bloggers-showcase/vozmozhnye-oshibki/porty-80-ili-443-zanyaty.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
