# Error Starting Distribution Server - Port Already In Use ## Problem Could not start the Distribution Server in the specified port. You will see an error as "Unable to start DS Server" in the SoM page of the Endpoint Central Console. ## Cause This error will occur if the HTTP/HTTPS port of the Distribution Server is occupied by some other application. The same error will occur on the both the cases, viz. 1. When you create and install the Distribution Server for the first time. 2. When you edit and change the port number of the Distribution Server later. ## Resolution You can resolve this issue as follows: ### Check and Free the Port of Distribution Server In the computer where the Distribution Server is installed, open a **command prompt** and enter the following command and check whether the port is occupied: ``` netstat -an ``` Free the port by stopping the application using that port or changing the port of that application to a different port. Distribution Server gets started automatically and updates the status back to the Endpoint Central Server during the next replication time. ### Change the Distribution Server Port If you cannot stop the application and free the port, you can change the port number of the Distribution Server as below: 1. Select SoM --> Remote Offices tab. 2. Click the Modify icon pertaining to that remote office from the Action column. This opens the Remote Office details dialog. 3. Change the DS HTTP Port and DS HTTPS Port numbers and click Modify. The port number automatically gets updated in the Distribution Server during the next Replication Interval. Upon successful startup of the Distribution Server the **DS Sync Status** gets updated. ## More Information **Applies to:** Remote Office, Distribution Server Installation **Keywords:** Remote Office, Manage Computers Across WAN, Distribution Server, SoM, Distributed Management Unable to resolve this issue? If you feel this KB article is incomplete or does not contain the information required to help you resolve your issue, upload the required [logs](https://www.manageengine.com/products/desktop-central/logs-how-to.html). Include details of the issue along with your correct e-mail ID and phone number. Our support team will contact you shortly and give you priority assistance and a resolution for the issue you are facing. ## Other KB Articles - [Agent Installation](https://www.manageengine.com/products/desktop-central/knowledge-base.html#agent-installation) - [Configurations](https://www.manageengine.com/products/desktop-central/knowledge-base.html#windows-configurations) - [Inventory Management](https://www.manageengine.com/products/desktop-central/knowledge-base.html#inventory-management) - [Patch Management](https://www.manageengine.com/products/desktop-central/knowledge-base.html#patch-management) - [Software Distribution](https://www.manageengine.com/products/desktop-central/knowledge-base.html#software-distribution) - [Service Pack Installation](https://www.manageengine.com/products/desktop-central/knowledge-base.html#service-pack-installation) - [Desktop Sharing](https://www.manageengine.com/products/desktop-central/knowledge-base.html#remote-desktop-sharing) - [Active Directory Reports](https://www.manageengine.com/products/desktop-central/knowledge-base.html#active-directory-reports) - [User Logon Reports](https://www.manageengine.com/products/desktop-central/knowledge-base.html#user-logon-reports) - [Endpoint Central SP Upgrade](https://www.manageengine.com/products/desktop-central/knowledge-base.html#service-pack-upgrade) - [Miscellaneous](https://www.manageengine.com/products/desktop-central/knowledge-base.html#miscellaneous) - [More](https://www.manageengine.com/products/desktop-central/knowledge-base.html) ## 24/5 Support Support will be available 24 hours a day and five days a week (Monday through Friday), excluding USA & India public holidays. Tel: +1-888-720-9500 Email: [desktopcentral-support@manageengine.com](mailto:desktopcentral-support@manageengine.com) **Speak to us** - Join the Endpoint Central Community to get instant answers for your queries, register with our [Forum](http://forums.manageengine.com/Desktop-Central). - Look out for the latest happenings in Desktop Management, follow our Tweets on [Twitter](http://twitter.com/DesktopCentral). - Get to know the latest updates and best practices in Desktop Management through our [Blog](http://blogs.manageengine.com/desktopcentral/index.html).