Fall back to localhost if there's no private IP

Closes #56