Select to view content in your preferred language

Protal ArcGIS request some component to port 7443 (Non default port installation))

2581
5
11-27-2019 04:17 AM
M_WarizmiWafiq
New Contributor

I create ArcGIS Portal installation using linux webportal that using port 8081 (yes I can't use default 80/443 port because of IT complication and limitation). I have successfully configure it and able to see home page without problem via https://mydomain:8081/arcgis/home

But when I try to singin to portal, some element make a request towards port 7443 which no accessible from outside. I have try to update webcontext url to "https://mydomain:8081/arcgis" but still not working. 

Tags (2)
0 Kudos
5 Replies
JonathanQuinn
Esri Notable Contributor

Are you using the web adaptor and did you follow the instructions below to configure the web adaptor to use a non-default port?

Use nondefault ports for the portal's ArcGIS Web Adaptor—Portal for ArcGIS (10.7 and 10.7.1) | ArcGI... 

0 Kudos
MarcWilkes
Emerging Contributor

Did you find a solution for your Problem?

I do have the same issue with the following setup:

I followed the documentation (https://enterprise.arcgis.com/de/portal/latest/administer/windows/use-a-non-default-port-for-the-por... and at some point after Login a resource is requested using the internal portal port: https://reverseproxy.domain.com:7443/arcgisportal/sharing/rest/portals/self/subscriptionInfo?f=json

This happens in the base.js --> getSecureUrl function. For some reason the property esriGeowConfig.self.httpsPort is set to 7443. The property location.hostname is set to the reverseproxy. Going into that method, the url is just fine:

https://reverseproxy.domain.com/arcgisportal/sharing/rest/portals/self/subscriptionInfo

Within that method that if-statement basically does this: 

b = b.replace(location.hostname, location.hostname + ":" + esriGeowConfig.self.httpsPort)

As result, the url is returned as

https://reverseproxy.domain.com:7443/arcgisportal/sharing/rest/portals/self/subscriptionInfo

Note: I do have another webadaptor running on webserver.internal.com which uses the default port 443. As expected, everything works fine. (I need those two webadaptors, because I have one set up for IWA and the other for anonymous access).

0 Kudos
Ranga_Tolapi
Frequent Contributor

Did you find a solution for your Problem?

I do have the same issue with the following setup:

0 Kudos
MarcWilkes
Emerging Contributor

Unfortunately, I found no clean solution. As a workaround, I remove those wrong port values in the reverse proxy (filtering outgoing requests).

0 Kudos
JamesMuriithi82
New Contributor

HI I am having the same exact issue, could you kindly expound the steps to your workaround, what i need to do exactly? Its not clear where I need to go and rmeove those wrong ports. Many thanks!

0 Kudos