Unable to add SQL Server

I have installed Grafana using Kitematic Docker image on Mac and I can access it using browser but when I try to add SQL Server Data source, it gives me error "lookup on <ip_address>: no such host. I have added the same SQL server using hostname in DataGrip and it works fine? Can anyone please help ?

Below are some of data I have used to add SQL Server in Grafana:
Name: Microsoft SQL Server
Host: <SQLServer_HostName>:1433
Database: <DB_Name>
Max Open: unlimited
Max idle: 2
Max lifetime: 14400
Min time interval: 1m