> For the complete documentation index, see [llms.txt](https://jack80342.gitbook.io/spring-boot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jack80342.gitbook.io/spring-boot/v.-spring-boot-actuator/51.-monitoring-and-management-over-http/51.5-disabling-http-endpoints.md).

# 51.5 禁用HTTP端点

如果不想通过HTTP暴露端点，你可以将管理端口设置为`-1`。如下所示：

```
management.server.port=-1
```
