Fix local settings so we use the correct ip for requests