SOS!!! change my arcgis server URL from localhost:6080 to an arcgis URL

874
6
05-17-2020 08:57 AM
MedMZOURI
New Contributor III

hey guys I have a problem I want to change my arcgis server URL from localhost:6080 to an arcgis URL..because when I publish my geoprocessing services and I want to add a custom widget in web appuilder I can't add it . I can add some public geoprocessing services of other people who have a URL different from localhost:6080..that"s why I want to change my server url from localhost:6080 to an arcgis url.. 
PS: I don't have Portal for arcgis..or rather I have installed it but I don't have license for it

Tags (1)
0 Kudos
6 Replies
JoshuaBixby
MVP Esteemed Contributor

Can you elaborate on what you mean by "arcgis URL"?

Have you tried connecting to http://hostname.domain.com:6080/arcgis to publish instead of http://localhost:6080/arcgis to publish?

MedMZOURI
New Contributor III

Not Yet..by arcgis URL I mean a URL which does not contain "localhost"

0 Kudos
JoshuaBixby
MVP Esteemed Contributor

The first thing I would try then is using hostname.domain.com to connect and publish.

0 Kudos
MedMZOURI
New Contributor III

is it obligatory to have installed portal for arcgis?

0 Kudos
MedMZOURI
New Contributor III

I don't have a domain name so what is domain.com?

0 Kudos
JoshuaBixby
MVP Esteemed Contributor

Any computer on a business network will have a fully-qualified domain name (FQDN).  Usually the domain name is the same or similar as the company domain, e.g., server01.esri.com or something like that.

Open PowerShell and put the following in:

[System.Net.Dns]::GetHostByName(($env:computerName))

0 Kudos