Http bad gateway error

Hi,

I am running grafana and graphite as two seperate containers. But I am not able to add the graphite as data source. I am getting http bad gateway error. Any help would be appreciated.

Thanks
Sid