How to fix Locust can’t reach 0.0.0.0

Running the python library Locust for testing is awesome. But you are getting a Locust can’t reach 0.0.0.0. The script is running properly with no errors. But 0.0.0.0 give you ERR_CONNECTION_REFUSED. File is called locustfile.py.

Locust can't reach 0.0.0.0

But hitting http://0.0.0.0:8089/ just gives you This site can’t be reached. The webpage at http://0.0.0.0:8089/ might be temporarily down or it may have moved permanently to a new web address.
ERR_ADDRESS_INVALID

Locust can't reach 0.0.0.0

Solution

For whatever reason something is not pointing directly. But an easy fix or what you will called it. Use the localhost instead

http://localhost:8089/

There you have it. Now it should be running

Locust can't reach 0.0.0.0