Promtheus http server

Hey there!
How can I build (start) Prometheus HTTP server with some IP-address on python (code).
I found the start_http_server(8000) which starts http server on my localhost:8000,
BUT I don’t want to start it on my LOCALHOST.
Please HELP!!!