Connection reset by peer from Loki when I call push or query API

Get “http://loki/loki/api/v1/query_range?direction=backward&end=1726730391778000000&limit=5000&query={hostname%3D~“.%2B|.%2B”}+|+json+|+logfmt+|+line_format+“{{.HOST}}+-+{{.MESSAGE}}”+|~+“”+&start=1726728591778000000&step=1000ms”: read tcp 10...116:44148->10...*:80: read: connection reset by peer

Sep 19 03:28:18 lokiappv1 promtail[1273692]: level=warn ts=2024-09-19T07:28:18.533798748Z caller=client.go:419 component=client host=loki msg=“error sending batch, will retry” status=-1 tenant= error=“Post "http://loki/loki/api/v1/push\”: write tcp 10.101..43:33712->10.101..:80: write: connection reset by peer"
Sep 19 03:28:23 lokiappv1 promtail[1273692]: level=warn ts=2024-09-19T07:28:23.165791167Z caller=client.go:419 component=client host=loki msg=“error sending batch, will retry” status=-1 tenant= error=“Post "http://loki/loki/api/v1/push\”: write tcp 10.101.
.43:33728->10.101..:80: write: connection reset by peer"