'Fixes' connecting to the localhost by replacing localhost with 127.0.0.1 (localhost didn't work on arch)