HOW TO
Network Address Translation (NAT) provides Web sites the ability to have one address visible to the internet, while other machines behind the firewall provide all the Web content. For instance, when you visit the site http://www.esri.com, you are actually receiving the html pages from another machine behind ESRI’s firewall, but as far as your browser is concerned, it receives the information from www.esri.com.With ArcIMS, this becomes an issue if you are serving pages from a machine which is behind the firewall, but is NATed from your external site.
Code:
<IMAGESERVERWORKSPACE name="ifs_ws-4" url="http://mymachine/servlet/com.esri.esrimap.Esrimap" service="USA" />
Code:
<IMAGESERVERWORKSPACE name="ifs_ws-4" url="http://www.mywebsite.com/servlet/com.esri.esrimap.Esrimap" service="USA" />
Code:
//*********************************************************************
//* parameters set by Designer
//*********************************************************************
var imsURL = 'http://mymachine/servlet/com.esri.esrimap.Esrimap?ServiceName=USA';
var imsOVURL = 'http://mymachine/servlet/com.esri.esrimap.Esrimap?ServiceName=USA';
Code:
var imsURL = 'http://www.mywebsite.com/servlet/com.esri.esrimap.Esrimap?ServiceName=USA';
var imsOVURL = 'http://www.mywebsite.com/servlet/com.esri.esrimap.Esrimap?ServiceName=USA';
Article ID:000002058
Get help from ArcGIS experts
Download the Esri Support App