Getting Error with this message Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host : Getting below error while calling Web Api through console application using HTTP client.

Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host

In Background Service does work but application get crash with this message.

Can anyone help me out on this as this is very urgent for me.

I tried lots of solution  but no one as worked out. 