Baoyuantop commented on issue #575:
URL:
https://github.com/apache/apisix-helm-chart/issues/575#issuecomment-4205354144
The `bind() to 0.0.0.0:443 failed (13: Permission denied)` error occurs
because port 443 is a privileged port (< 1024) that requires root or the
`NET_BIND_SERVICE` capability. The chart runs APISIX as non-root by default.
**Solutions:**
1. **Use a high port** (recommended): Set `apisix.ssl.containerPort: 9443`
(values.yaml line 310, this is the default)
2. **Add capability**: Configure `securityContext` (values.yaml lines 47-53):
```yaml
securityContext:
capabilities:
add:
- NET_BIND_SERVICE
```
The default SSL container port is already 9443, so this issue typically
arises from custom overrides.
Closing as this is a usage question about Linux port binding. If you still
have questions, please feel free to reopen.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]