Unable to use mitmproxy on windows

i installed mitmproxy on win10. whenever i try to install the certificates, i get an error. But using the windows certificates manager, i installed the certificate.
now in chrome i set up the proxy after running mitmweb.exe from the command line. but i am getting the error “not connected”
where am i going wrong?

You have to use 127.0.0.1 as your IP - 0.0.0.0 means that mitmproxy is listening on all interfaces, not just on localhost.