Hello,
I am trying to determine why browsers can not connect to layers within my web app. After applying the URL to a browser outside of the host server, hitting "F12" on my keyboard, I noticed the console tab was showing an attempted point to local host, if I replace "localhost" with the actual server name and add it to a new tab, it appears to point to information. Should the actual server name where the data is hosted be updated in the code? Seems unlikely, but I'm not sure what else to look into right now.
I have tried removing the layer then re-adding it. I've tried republishing the service. I've tried different browsers. Not sure what else to try.
Solved! Go to Solution.
My company uses a web adaptor. I needed to replace "localhost" with the web adaptor string when adding the layer to the web map.
My company uses a web adaptor. I needed to replace "localhost" with the web adaptor string when adding the layer to the web map.