Select to view content in your preferred language

Only basemap visible on internet facing page

1291
1
01-16-2013 10:38 AM
DavidLetz
Emerging Contributor
I have a map that has one polygon layer, and a few feature layers that are controlled by the user with checkboxes. The page is on a server that allows browsing from within my company's network, and also anonymous access browsing from the internet. Within our network, I can see the polygon overlay, and any feature layer. But at home, using internet access, only the basemap works. I am calling the other layers using the convention of calling the service using the server name, such as

var somename= new esri.layers.FeatureLayer ("http://mygisserver02/arcgis/rest/services/amenities/blahblah/MapServer/15");

I am using ArcGIS JavaScript API to build the maps.

Question: do you guys use this convention to call map services on internet facing web sites? I do not know too much about networking, and the networking guys here cannot help.

Any advice is appreciated.

Thanks.
0 Kudos
1 Reply
JohnGravois
Deactivated User
you can abstract away the JS API from this question and just focus on the REST endpoints for your services.  Mygisserver02 has to be exposed to the public internet in order for you to load a map service in REST outside your work network using a url like the following directly in the browser. 

http://mygisserver02/arcgis/rest/services/amenities/blahblah/MapServer

Usually this is accomplished by standing up a reverse proxy which forwards specific requests from the the outside world to an internal machine in a controlled manner.
0 Kudos