How are you doing ?

I tried to sync my contacts on Samsung S8 with Daylite server ,but if set URL as "Http://daylite server name:port" will be show that "Can not find CardDav server", but if set as "Http://dalite server IP:port" no any problem . why like this ,my mobile and Daylite server are same local network .

Please reply me ,thanks