Remove no-longer-used bash() and run().
Bind to local 127.0.0.1 insted of 0.0.0.0.

This avoids errors from firewalls that block binding on external
interfaces.