can not connect to arcgis server from arccatalog

4340
13
Jump to solution
02-28-2017 02:27 AM
Mariagomez1
New Contributor III

Hello everybody

When I want to connect ArcGIS Server through "Add ArcGIS Server" tool in ArcCatalog, I encounter with this error:

' we were unable to connect to https://localhost:6080/arcgis error: proxy server got bad address from server'

I should say:

 1- few hours ago , I could make this connection and worked properly.

 2- The installed ArcGIS and ArcGIS Server is 10.2.2 and I did not install any other version of ArcGIS on my laptop. Actually ArcGIS 10.2.2 is the first ArcGIS after installing Windows on my laptop.

3- I did not install Web Adapter on my laptop

4- Sql server is 2008 R2

5- Firewall is completely turn off on my laptop

6- i can log into http://localhost:6080/arcgis/manager  

please help me . Thanks in advance 

0 Kudos
13 Replies
RebeccaStrauch__GISP
MVP Emeritus

Maria,

If you are using "localhost:6080", it assumes you are using ArcGIS Desktop ON the machine where server is located.  This may be the case (both installed on your laptop??).  In any case, you should be able to attach to the server in ArcCatalog using tha ArcGIS Server Administrtaor Connection. 

For the Server URL either   http://<servername>:6080/arcgis/admin  or http://<serverIP>:6080/arcgis/admin    if you are trying to have a administration connection. To have an "admin" conneciton (and publisher too?) you will most likely need to add credentials that have permissions.

The same path should work for a user connection, but you wont necessarily need and login credentials.

Once you have something like IIS installed/activated, have a web site (even if just "Default") setup, and web adaptors installed, then you will have other options to connect.  Even if this is all on your laptop, you can still go thru this process.  The web adaptors can be installed and bound for port 80 or 443 (which should have a ssl cert to go with it).

With you wanting it to look at the index..htm, that is more the format of the website...but the web adaptor and rest endport using the web adaptor (showing with defaul "arcgis", not a different web adaptor name) would look more like

http://<webURL or IP>/arcgis/rest/services

I suggest reading thru the getting started and install guides again.  You probably just skipped over a step. But if you do have a different question do start a new thread....but if it's still the same issue, then you should continue this one.

Mariagomez1
New Contributor III

Thanks Rebecca. I installed all the required software on my laptop. and I did not install Web Adaptor because I do not want to get more confused and in the past I worked without installing it and I did not have any problem . anyway. let me explain a little more about the current problem. Dear Rebecca, my codes run properly when I refer my codes to CDN (hosted API) and use this address : http://192.168.1.6/realstate/test4.html OR http://localhost:80/realstate/test4.html but It does not run when I use this address: http://localhost:6080/realstate/test4.html , ( port 6080) and the attached error appear on the screen.

error: 

HTTP Status 404 - /realstate/test4.html


type Status report

message /realstate/test4.html

description The requested resource is not available.


Apache Tomcat/7.0.47

when I refer my code to downloaded API and actually use the API locally ( the thing that I am interested to use), my codes will not run through none of the mentioned addresses ( by IP: http://192.168.1.6/realstate/test4.html OR by Port:  http://localhost:6080/realstate/test4.html ) .

whereas they worked correctly in the past.

I should say that when I want to go ArcGIS Manager or Rest mode of a service map using port 6080 I don't have any problem (http://localhost:6080/arcgis/manager/index.html  - http://localhost:6080/arcgis/admin/login  - http://localhost:6080/arcgis/rest/services/rd/MapServer ) . 

To sum up:

What should I do if I want to use port 6080 in my address (   http://localhost:6080/realstate/test4.html) especially when I use the API locally ( downloaded version of API)?

Thanks in advance

0 Kudos
FC_Basson
MVP Regular Contributor

I would like to know why you want that folder accessed through port 6080, because that port is assigned to the ArcGIS Server site. So in effect you will have to make your "realestaste" folder part of the AGS site to have it accessed on port 6080.

Mariagomez1
New Contributor III

Thanks it worked with port 80 and downloaded API locally.

0 Kudos