Use host as host.docker.internal as prometheus-exporter running as container and in order for it to access something which is running on same machine but not in same container(containerized application).
How host.docker.internal Works Purpose: It resolves to the host machine's IP address, allowing containers to communicate with services running on the host. Availability: