Swathi without knowing details about your configurations, infrastructure and way of testing is hard to give an answer. I suppose that you change your REST configuration from cloud to a local destination. Furthermore is the main difference that the local solutions use local incoming traffic. Now it is possible that a firewall or security program blocks this local traffic. You could check the logs for this. And perhaps you can use curl for testing the REST connectivity.