I have Print and Map Services on the same physical server and a web application (developed using ArcGIS Javascript 3.x API) also deployed on the same server. Web application consumed both print and map services. When a Print Task request is sent to the server using LiveIP, at that moment Print Task created JSON. This JSON has Map service with LocalIP because now the request is on the server and it needs to use Map service so Map service should have LocalIP in JSON. Previously it was working fine but suddenly, the print task stopped accessing map services from the local IP.
For testing, I tried to access map services from another live server, map services were accessible and the print task did print.
The problem is, how can I access map services using local IP instead of LiveIP
I already tested with both use cases (Through Browser and ArcGISPro). Errors or messages have not been promoted. map services displayed correctly. Two (02) images are attached herewith for your kind reference.
If possible, can we do a live session to identify the problem in a quick way as five days have been gone but we are unable to resolve the issue?
That is very odd. I'd strongly recommend you to reach out to Esri Support, as I am out of suggestions without looking into this on your machine. Unfortunately I can't do live session. Only an analyst from Esri Support can do this.
I'm so sorry for all the troubles you are going thru. An analyst will be help resolve this issue.
Not sure if I mentioned that before; in new releases, localhost or local ip addresses are considered invalid urls by print service. Therefore we need to find out why your urls with domain/machine name is not working.
Also, from your screenshots it looks like your map service is secured. If so, are tokens being included in print service requests? are they getting generated using your local ip/local host or your machine/domain url?
either way, as mentioned previously, please reach out to Esri Support for further assistance. Please accept my sincere apologies as I won't be able help any further in this thread as I don't and can't have all necessarily information I'd need to help over this chain 😞 .