get localIP if one isn't defined