Error: connect ECONNREFUSED 127.0.0.1:5000; API hosted on azure cloud and trying to hit from postman

127.0.01 is localhost addresss , if you are using cloud you should be using public IP not localhost . Make sure the endpoint address is correct