printing private and public ip if a server failes to restart