How configure InfluxDB on another server?

HI everyone i install Grafana and need configure system overview in many servers, but influxDB in test return “Network Error: Bad Gateway(502)” if someone can help me…