Added second attempt at getting server address.