Getting httphostconnectionexception while running Android on Windows

Getting httphostconnectionexception while running Android on Windows.

Appium version: 1.4.16
Android version: 6.0
Windows 7

After some test case it automatically coming in the logs.

Anyone have the idea on this error?

Actual Error:

org.openqa.selenium.WebDriverException:
org.apache.http.conn.HttpHostConnectException: Connect to
127.0.0.1:49341 [/127.0.0.1] failed: Connection refused: