How to fix Locust can’t reach

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

Locust can't reach

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

Locust can't reach


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


There you have it. Now it should be running

Locust can't reach