Defaults to localhost if needed