# OH-TFS/AzureDevOps-0182

### Description

When you encounter OH-TFS/AzureDevOps-0182 then the following error message will appear:

'OH-TFS/AzureDevOps-0182:Can not reach TFSService. Please check if TFSService is running and `<TFS_SERVICE_URL>` is valid URL for TFSService.'

### Cause

Following are the probable reasons for this:

* OpsHubTFSService is not registered or started.
* `<TFS_SERVICE_URL>` format which is entered during system configuration is incorrect or wrong.
* The HostName and PortNumber where OpsHubTFSService is registered is different than hostname and port number which is mentioned in Service URL during system configuration.\
  E.g. OpsHubTFSService is registered with URL <http://localhost:9191/TFSService> but during system configuration <http://localhost:9090/TFSService> is provided in Service URL.
* The OpsHubTFSService has not been upgraded after upgrading <code class="expression">space.vars.SITENAME</code>.

### Solution

* If you have not registered OpsHubTFSService, then refer [How to register OpsHubTFSService?](https://github.com/OpsHubProduct/Test-OIM-Documentation/blob/main/docs/help-center/troubleshooting/errors/tfs/how-to-register-opshubtfsservice/README.md) and register OpsHubTFSService.
* If OpsHubTFSService is already registered and not running, then start the OpsHubTFSService.
* The format of Service URL should be http\://:\<port\_number>/TFSService during system configuration.
* Validate OpsHubTFSService is registered on same hostname and port number that is provided in Service URL by opening this URL in the browser:\
  http\://:/TFSService.\
  E.g. If you have registered OpsHubTFSService with hostname "localhost" and port number "9191" then hit URL: <http://localhost:9191/TFSService>.
* If you have upgraded <code class="expression">space.vars.SITENAME</code>, then refer [How to upgrade OpsHubTFSService after upgrading ?](https://github.com/OpsHubProduct/Test-OIM-Documentation/blob/main/docs/help-center/faqs/tfs/how-to-upgrade-opshubtfsservice-after-upgrading-opshub-integration-manager.md) to upgrade OpsHubTFSService.
* If OpsHubTFSService is registered/started/upgraded successfully, the following output will be opened in the browser after hitting the URL:

<div align="center"><img src="https://3729341606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1yI7gLypIVjJdBgxy9pM%2Fuploads%2Fgit-blob-95c89439c1db97ead1755eccca40503f6b1495b5%2FPort_change.PNG?alt=media" alt=""></div>
