The web application can???t be accessed from other machine,

3732
16
05-26-2013 10:00 AM
JamalNUMAN
Legendary Contributor
The web application can�??t be accessed from other machine,

I have 3 machines connected by switch. The service is published on �??Jamal-pc�?�. I could access it by:

http://jamal-pc/apps/T5


[ATTACH=CONFIG]24690[/ATTACH]


I tried to access this application (http://jamal-pc/apps/T5) from �??mira-pc�?� but sounds that the web application ends up with nothing


[ATTACH=CONFIG]24691[/ATTACH]


What might be the issue here?


Thank you

Best

Jamal
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
16 Replies
AlexeyTereshenkov
Regular Contributor III
The issue might occur if you don't have a crossdomain.xml file stored in the inetpub\wwwroot folder which is required when accessing the services from outside the machine the application itself is hosted.

As an example, you can view the policy file used by ArcGIS Online: http://services.arcgisonline.com/clientaccesspolicy.xml. Save this file into your wwwroot folder and test.

Another thing is Firewall settings which might block 6080 port requests coming. Either set the Firewall to allow 6080 port requests to go through or use Web Adaptor and configure it to use port 80. You can reach the application itself, so the problem is with ArcGIS Server services rather than with the web application itself.
0 Kudos
by Anonymous User
Not applicable
Original User: Jamal432@gmail.com

The issue might occur if you don't have a crossdomain.xml file stored in the inetpub\wwwroot folder which is required when accessing the services from outside the machine the application itself is hosted.

As an example, you can view the policy file used by ArcGIS Online: http://services.arcgisonline.com/clientaccesspolicy.xml. Save this file into your wwwroot folder and test.

Another thing is Firewall settings which might block 6080 port requests coming. Either set the Firewall to allow 6080 port requests to go through or use Web Adaptor and configure it to use port 80. You can reach the application itself, so the problem is with ArcGIS Server services rather than with the web application itself.


Thank you very much Alexey for the very informative answer.

This is what surprises me the most:

�?� I have the clientaccesspolicy.xml and crossdomain.xml in both machines (host and client)
�?� The firewall is off in both machines

[ATTACH=CONFIG]24705[/ATTACH], [ATTACH=CONFIG]24706[/ATTACH]

Nevertheless, the web application can�??t be accessed from the clients�?? machines and ends up only with the interface without displaying anything. Meanwhile I could access the web application built on the ADF web application from clients' machines.

[ATTACH=CONFIG]24707[/ATTACH]

What other issues should I consider?


Best

Jamal
0 Kudos
RichardWatson
Frequent Contributor
I'd run Fiddler and examine the underlying request/response.
0 Kudos
by Anonymous User
Not applicable
Original User: tereshenkov

I agree with Richard. First check in the SL Builder what do you have in your application (what services and where they come from) and then check what you actually get in the web browser on the client. Maybe there is something wrong with the SL app itself. Test creating a new application with the Builder and try to add an ArcGIS Server service and see if you can reach the server machine at all.
0 Kudos
JamalNUMAN
Legendary Contributor
I agree with Richard. First check in the SL Builder what do you have in your application (what services and where they come from) and then check what you actually get in the web browser on the client. Maybe there is something wrong with the SL app itself. Test creating a new application with the Builder and try to add an ArcGIS Server service and see if you can reach the server machine at all.


Many thanks Alexey and Richard for the help,

I tried the fiddler. Please, have a look on what I got:

[ATTACH=CONFIG]24714[/ATTACH]

What might this indicate for?


The issue that the Silverlight works fine on the host machine but fails to do so on the client. Please, have a look on the screenshot below:

[ATTACH=CONFIG]24715[/ATTACH]



Also, the service can be accessed from arcgis server manager and arcgis JavaScript API


[ATTACH=CONFIG]24716[/ATTACH]
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
RichardWatson
Frequent Contributor
I think you need to ignore the 404 related to favicon.ico:

http://en.wikipedia.org/wiki/Favicon
0 Kudos
by Anonymous User
Not applicable
Original User: rlwatson

Can you post the entire Fiddler capture?
0 Kudos
by Anonymous User
Not applicable
Original User: Jamal432@gmail.com

I think you need to ignore the 404 related to favicon.ico:

http://en.wikipedia.org/wiki/Favicon



Then how about this:


[ATTACH=CONFIG]24717[/ATTACH]


What might this refer to?
0 Kudos
RichardWatson
Frequent Contributor
Refresh the page bypassing the browser cache:

http://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache
0 Kudos