Fix localhost references.
change localhost references