However, for timeouts there's no err.response, therefore we can't get the IP from there.
Is there any way to get it? By the way, this is of course for the case that DNS lookup was successful, it's just the the remote server took too long to respond.
...
What would you like to discuss?
Is it possible to get the remote IP address when a timeout occurs?
827 implemented the possibility to get the IP address like so:
However, for timeouts there's no
err.response
, therefore we can't get the IP from there. Is there any way to get it? By the way, this is of course for the case that DNS lookup was successful, it's just the the remote server took too long to respond. ...Checklist