Open telemetry push metrics but an 405 http error occurs

open telemetry sends metrics to Prometheus server ,
I have err - 405 method not allowed , don’t know what might be the reason .