Connection reset by peer error while starting the telegraf

I have configured the telegraf to push the data to the influx db. While starting the telegraf agent, I am getting the following error:

[a617327@vc2coma1348735n jk]$ telegraf -config /etc/telegraf/telegraf.conf
2018-09-05T11:15:46Z W! [outputs.influxdb] when writing to [http://vc2crtp1330176n:8086]: database “telegraf” creation failed: Post http://vc2crtp1330176n:8086/query: read tcp 10.146.4.163:46940->10.239.251.18:8000: read: connection reset by peer

Please advice

This is my telegraf.conf content

Configuration for influxdb server to send metrics to

[[outputs.influxdb]]
urls = [“http://vc2crtp1330176n:8086”]
username = “perf”
password = “perf”
database = “telegraf” # required
precision = “s”
timeout = “5s”

###############################################################################

INPUTS

###############################################################################

Oracle metrics

[[inputs.exec]]

Shell/commands array

commands = ["/home/a617327/jk/test3.sh"]

Data format to consume. This can be “json”, “influx” or “graphite” (line-protocol)

NOTE json only reads numerical measurements, strings and booleans are ignored.

data_format = “influx”
interval = “60s”