Appium Inspector Version 1.4.16.1 Error:- Failed to connect to to server, Pls check that it is running

Using Appium on my windows 10 and Geny Motion 2.5.4 for emulator . I am not able to Use Appium Inspector. my appium Version is 1.4.16.1. I been running my appium Inspector while running my Test Code. then also it gives error “Failed to connect to to server, Pls check that it is running”. I have set all the Capabilities in my code. Plzz help me to solve this issue.