Added ip address output to diagnostics

For further debugging.