Published REST API is not accessible from ONPREM environment

Hi team , We have a published REST API in an application thats deployed to an OnPREM environment. The published Rest API is accessible fine in the local setup and the sandbox with respective host URLs. However its not accessible after deploying to OnPrem setup. Is there something that needs to be done while deployment for the REST APi to be working after Onprem deployment. ? I even tried connecting through IP but still not reachable. Please help me fix it.    Thanks
1 answers

Could it be that the rest requesthandler is not setup correctly in the configuration and the setup is missing like described here in the example with the proxy_pass setup for the file handler?