Display error if address cannot be obtained

Signed-off-by: Dimitar <dimitar.m.marinov@abv.bg>