---
title: Setting up multiple servers on the same machine
description: You've thus got one Diffusion instance running successfully on your machine.
---

[Skip to content](https://support.diffusiondata.com/knowledge/setting-up-multiple-servers-on-the-same-machine#main-content)

English

Show submenu for translations

[Contact Customer Support](https://support.diffusiondata.com/knowledge/kb-tickets/new?hsLang=en) [Customer portal](https://support.diffusiondata.com/tickets-view?hsLang=en)

[![DiffusionData Logo](https://support.diffusiondata.com/hs-fs/hubfs/DiffusionData-Logo-Primary-Trimmed.png?width=445&height=64&name=DiffusionData-Logo-Primary-Trimmed.png)](https://www.diffusiondata.com)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Contact Customer Support](https://support.diffusiondata.com/knowledge/kb-tickets/new)
- [Customer portal](https://support.diffusiondata.com/tickets-view)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Help Center](https://support.diffusiondata.com/knowledge?hsLang=en)
2. [Getting Started](https://support.diffusiondata.com/knowledge/getting-started?hsLang=en)

# Setting up multiple servers on the same machine

### Steps

- Download Diffusion from [https://www.diffusiondata.com/try-diffusion-on-premise/](https://www.diffusiondata.com/try-diffusion-on-premise/)
- Run the downloaded jar file from Command Prompt

```
C:\Users\Amritha\Downloads>java -jar diffusion-installer-6.7.2.jar
```

![article17\_image1](https://support.diffusiondata.com/hs-fs/hubfs/article17_image1.jpg?width=602&height=506&name=article17_image1.jpg)

- Select the path where you want to get your Diffusion installed.

![article17\_image2](https://support.diffusiondata.com/hs-fs/hubfs/article17_image2.jpg?width=602&height=506&name=article17_image2.jpg)

- ‘Deploy Demos’ is unchecked by default. You may check it before you proceed.

![article17\_image3](https://support.diffusiondata.com/hs-fs/hubfs/article17_image3.jpg?width=602&height=506&name=article17_image3.jpg)

![article17\_image4](https://support.diffusiondata.com/hs-fs/hubfs/article17_image4.jpg?width=602&height=506&name=article17_image4.jpg)

- Proceed and complete the installation.

![article17\_image5](https://support.diffusiondata.com/hs-fs/hubfs/article17_image5.jpg?width=602&height=506&name=article17_image5.jpg)

![article17\_image6](https://support.diffusiondata.com/hs-fs/hubfs/article17_image6.jpg?width=602&height=506&name=article17_image6.jpg)

- Go to the directory where Diffusion is installed.

```
C:\Work>cd "Diffusion 6.7.2"
```

- To start Diffusion, run the Windows batch file in the bin folder. You may use **diffusion\_java11** if your java version is not 8.

```
C:\Work\Diffusion 6.7.2\bin>diffusion.bat
```

```
2021-11-12 12:26:06.528|INFO|main|PUSH-000578|||Diffusion 6.7.2 "Russell" - Build #4fbb8bff, 9156@PTLT72, Oracle Corporation Java HotSpot(TM) Client VM 1.8.0_311.|com.pushtechnology.diffusion.DiffusionController2021-11-12 12:26:06.628|INFO|main|PUSH-000166|||Diffusion server 'PTLT72' starting.|com.pushtechnology.diffusion.DiffusionController2021-11-12 12:26:06.628|INFO|main|PUSH-000159|||The maximum message size is 32768 bytes.|com.pushtechnology.diffusion.DiffusionController2021-11-12 12:26:07.014|WARN|main|PUSH-000676|||This system has 16 available cores which exceeds the license limit of 8 cores. The server thread pools have been constrained to degrade performance.|com.pushtechnology.diffusion.licence.agent.c2021-11-12 12:26:07.245|WARN|main||||******************************************************************************* Thank you for choosing Diffusion. This server is using a restricted default license. It is limited to 1000 topics, 5 user sessions, and 8 CPU cores. Production use is explicitly prohibited. Get a more capable license for this server by joining the Push Technology Developer Community at https://community.pushtechnology.com. Registration is free and allows you to generate a community license that supports single server production deployments and up to 1000 user sessions. You can also generate an evaluation license that grants trial access to premium features available with a commercial license including multi-server clusters for high-availability and scale, topic persistence, and inter-server connections across wide area networks. For a commercial license that supports larger numbers of topics and sessions and production use of the premium features, please contact our sales team.  https://www.pushtechnology.com/  sales@pushtechnology.com  +44 20 3588 0900*******************************************************************************|com.pushtechnology.diffusion.licence.agent.LicenceLoaderImpl2021-11-12 12:26:09.318|INFO|main|PUSH-000808|||JMX has loaded a TLS keystore from 'C:\Work\Diffusion 6.7.2\etc\sample.keystore'.|com.pushtechnology.diffusion.management.RemoteJMXService2021-11-12 12:26:09.657|INFO|main|PUSH-000216|||Remote JMX management service has started. Listening to service:jmx:rmi://localhost:1100/jndi/rmi://localhost:1099/jmxrmi.|com.pushtechnology.diffusion.management.RemoteJMXService2021-11-12 12:26:09.735|INFO|main|PUSH-000193|||Connector 'Client Connector' has loaded a TLS keystore from 'C:\Work\Diffusion 6.7.2\etc\sample.keystore'.|com.pushtechnology.diffusion.comms.connector.ConnectorImpl2021-11-12 12:26:09.789|INFO|main|PUSH-000362|||Started HTTP service for 'default-prometheus-service'.|com.pushtechnology.diffusion.webserver.services.HTTPService2021-11-12 12:26:09.804|INFO|main|PUSH-000337|||Added file service virtual host 'default' to serve files from 'html' to requests where the host header matches '.*'.|com.pushtechnology.diffusion.webserver.services.fileservice.FileService2021-11-12 12:26:09.820|INFO|main|PUSH-000072|||Connector 'Client Connector' started, listening on 0.0.0.0/0.0.0.0:8080.|com.pushtechnology.diffusion.comms.connector.ConnectorImpl2021-11-12 12:26:09.820|INFO|main|PUSH-000712|||Connector 'Client Connector' has scheduled pings every 90000ms.|com.pushtechnology.diffusion.comms.connector.PingScheduler2021-11-12 12:26:10.065|INFO|main|PUSH-000806|||The file service is serving files at https://192.168.1.156:8080 .|com.pushtechnology.diffusion.comms.connector.ConnectorImpl2021-11-12 12:26:10.065|INFO|main|PUSH-000193|||Connector 'High Volume Connector' has loaded a TLS keystore from 'C:\Work\Diffusion 6.7.2\etc\sample.keystore'.|com.pushtechnology.diffusion.comms.connector.ConnectorImpl2021-11-12 12:26:10.065|INFO|main|PUSH-000072|||Connector 'High Volume Connector' started, listening on 0.0.0.0/0.0.0.0:8090.|com.pushtechnology.diffusion.comms.connector.ConnectorImpl2021-11-12 12:26:10.065|INFO|main|PUSH-000712|||Connector 'High Volume Connector' has scheduled pings every 90000ms.|com.pushtechnology.diffusion.comms.connector.PingScheduler2021-11-12 12:26:10.327|INFO|main|PUSH-000806|||The file service is serving files at https://192.168.1.156:8090 .|com.pushtechnology.diffusion.comms.connector.ConnectorImpl2021-11-12 12:26:10.358|INFO|main|PUSH-000165|||Diffusion server started.|com.pushtechnology.diffusion.DiffusionController
```

- Open your browser and hit [http://localhost:8080/](http://localhost:8080/)

![article17\_image7](https://support.diffusiondata.com/hs-fs/hubfs/article17_image7.jpg?width=602&height=258&name=article17_image7.jpg)

- Scroll down for Management Console

![article17\_image8](https://support.diffusiondata.com/hs-fs/hubfs/article17_image8.jpg?width=602&height=260&name=article17_image8.jpg)

Credentials: admin/password

![article17\_image9](https://support.diffusiondata.com/hs-fs/hubfs/article17_image9.jpg?width=602&height=261&name=article17_image9.jpg)

You've thus got one Diffusion instance running successfully on your machine.

### How to run a second Diffusion instance on the same machine?

- Download any version of Diffusion as you wish.  If you are using the same version, then install it again at a new path just as you did for your first instance.
- Complete the installation.

![article17\_image10](https://support.diffusiondata.com/hs-fs/hubfs/article17_image10.jpg?width=602&height=506&name=article17_image10.jpg)

![article17\_image11](https://support.diffusiondata.com/hs-fs/hubfs/article17_image11.jpg?width=602&height=506&name=article17_image11.jpg)

- To run the newly installed version, open Command Prompt and issue the command just as you did previously.

```
C:\Work\Diffusion 6.7.2_2\bin>diffusion.bat
```

```
2021-11-12 13:27:57.952|INFO|main|PUSH-000578|||Diffusion 6.7.2 "Russell" - Build #4fbb8bff, 15000@PTLT72, Oracle Corporation Java HotSpot(TM) Client VM 1.8.0_311.|com.pushtechnology.diffusion.DiffusionController2021-11-12 13:27:58.037|INFO|main|PUSH-000166|||Diffusion server 'PTLT72' starting.|com.pushtechnology.diffusion.DiffusionController2021-11-12 13:27:58.037|INFO|main|PUSH-000159|||The maximum message size is 32768 bytes.|com.pushtechnology.diffusion.DiffusionController2021-11-12 13:27:58.322|WARN|main|PUSH-000676|||This system has 16 available cores which exceeds the license limit of 8 cores. The server thread pools have been constrained to degrade performance.|com.pushtechnology.diffusion.licence.agent.c2021-11-12 13:27:58.554|WARN|main||||******************************************************************************* Thank you for choosing Diffusion. This server is using a restricted default license. It is limited to 1000 topics, 5 user sessions, and 8 CPU cores. Production use is explicitly prohibited. Get a more capable license for this server by joining the Push Technology Developer Community at https://community.pushtechnology.com. Registration is free and allows you to generate a community license that supports single server production deployments and up to 1000 user sessions. You can also generate an evaluation license that grants trial access to premium features available with a commercial license including multi-server clusters for high-availability and scale, topic persistence, and inter-server connections across wide area networks. For a commercial license that supports larger numbers of topics and sessions and production use of the premium features, please contact our sales team.  https://www.pushtechnology.com/  sales@pushtechnology.com  +44 20 3588 0900*******************************************************************************|com.pushtechnology.diffusion.licence.agent.LicenceLoaderImpl2021-11-12 13:28:00.478|INFO|main|PUSH-000808|||JMX has loaded a TLS keystore from 'C:\Work\Diffusion 6.7.2_2\etc\sample.keystore'.|com.pushtechnology.diffusion.management.RemoteJMXService2021-11-12 13:28:00.510|WARN|main|PUSH-000656|||Unable to start connector 'Management' on port 1099, address already in use.|com.pushtechnology.diffusion.management.ManagementServiceImpl2021-11-12 13:28:00.545|INFO|main|PUSH-000193|||Connector 'Client Connector' has loaded a TLS keystore from 'C:\Work\Diffusion 6.7.2_2\etc\sample.keystore'.|com.pushtechnology.diffusion.comms.connector.ConnectorImpl2021-11-12 13:28:00.594|INFO|main|PUSH-000362|||Started HTTP service for 'default-prometheus-service'.|com.pushtechnology.diffusion.webserver.services.HTTPService2021-11-12 13:28:00.610|INFO|main|PUSH-000337|||Added file service virtual host 'default' to serve files from 'html' to requests where the host header matches '.*'.|com.pushtechnology.diffusion.webserver.services.fileservice.FileService2021-11-12 13:28:00.625|INFO|main|PUSH-000072|||Connector 'Client Connector' started, listening on 0.0.0.0/0.0.0.0:8080.|com.pushtechnology.diffusion.comms.connector.ConnectorImpl2021-11-12 13:28:00.625|WARN|main|PUSH-000656|||Unable to start connector 'Client Connector' on port 8080, address already in use.|com.pushtechnology.diffusion.comms.connector.ConnectorManager2021-11-12 13:28:00.625|ERROR|main|PUSH-000571|||Failed to start required connector, 'Client Connector'.|com.pushtechnology.diffusion.comms.connector.ConnectorManager2021-11-12 13:28:00.625|WARN|main|PUSH-000168|||Diffusion stopping, reason='Failed to start required connector, 'Client Connector'.' by administrator='anonymous'.|com.pushtechnology.diffusion.DiffusionController2021-11-12 13:28:00.647|INFO|main|PUSH-000566|||Daily statistics have been written in the ConnectionCount file.|com.pushtechnology.diffusion.statistics.SessionCountsImpl2021-11-12 13:28:00.663|INFO|main|PUSH-000549|||Stopping selector thread 'SelectorThreadPool Thread_0'.|com.pushtechnology.diffusion.io.nio.AbstractUnifiedSelector2021-11-12 13:28:00.678|INFO|main|PUSH-000167|||Diffusion stopped.|com.pushtechnology.diffusion.DiffusionController
```

This diffusion instance fails to run. The log shows the reason explicitly as its failing to start the Client connector on the given port. Because your first instance is already using it. Hence, we need to change that before starting another instance. There is also an other port that needs to be changed just like Client Connector, which is being used by the first instance and that is **High Volume Connector.**

#### Where to change the ports?

Connectors.xml

This can be found in the **etc** folder.

- Let’s change Client Connector port, say, **8081** and High volume connector to say, **8092.**

![article17\_image12](https://support.diffusiondata.com/hs-fs/hubfs/article17_image12.jpg?width=602&height=97&name=article17_image12.jpg)

- Save the changes.
- Run the batch file from Command Prompt. The second Diffusion server starts.

```
2021-11-12 13:52:27.654|INFO|main|PUSH-000578|||Diffusion 6.7.2 "Russell" - Build #4fbb8bff, 13360@PTLT72, Oracle Corporation Java HotSpot(TM) Client VM 1.8.0_311.|com.pushtechnology.diffusion.DiffusionController2021-11-12 13:52:27.754|INFO|main|PUSH-000166|||Diffusion server 'PTLT72' starting.|com.pushtechnology.diffusion.DiffusionController2021-11-12 13:52:27.754|INFO|main|PUSH-000159|||The maximum message size is 32768 bytes.|com.pushtechnology.diffusion.DiffusionController2021-11-12 13:52:27.993|WARN|main|PUSH-000676|||This system has 16 available cores which exceeds the license limit of 8 cores. The server thread pools have been constrained to degrade performance.|com.pushtechnology.diffusion.licence.agent.c2021-11-12 13:52:28.224|WARN|main||||******************************************************************************* Thank you for choosing Diffusion. This server is using a restricted default license. It is limited to 1000 topics, 5 user sessions, and 8 CPU cores. Production use is explicitly prohibited. Get a more capable license for this server by joining the Push Technology Developer Community at https://community.pushtechnology.com. Registration is free and allows you to generate a community license that supports single server production deployments and up to 1000 user sessions. You can also generate an evaluation license that grants trial access to premium features available with a commercial license including multi-server clusters for high-availability and scale, topic persistence, and inter-server connections across wide area networks. For a commercial license that supports larger numbers of topics and sessions and production use of the premium features, please contact our sales team.  https://www.pushtechnology.com/  sales@pushtechnology.com  +44 20 3588 0900*******************************************************************************|com.pushtechnology.diffusion.licence.agent.LicenceLoaderImpl2021-11-12 13:52:30.154|INFO|main|PUSH-000808|||JMX has loaded a TLS keystore from 'C:\Work\Diffusion 6.7.2_2\etc\sample.keystore'.|com.pushtechnology.diffusion.management.RemoteJMXService2021-11-12 13:52:30.176|WARN|main|PUSH-000656|||Unable to start connector 'Management' on port 1099, address already in use.|com.pushtechnology.diffusion.management.ManagementServiceImpl2021-11-12 13:52:30.223|INFO|main|PUSH-000193|||Connector 'Client Connector' has loaded a TLS keystore from 'C:\Work\Diffusion 6.7.2_2\etc\sample.keystore'.|com.pushtechnology.diffusion.comms.connector.ConnectorImpl2021-11-12 13:52:30.276|INFO|main|PUSH-000362|||Started HTTP service for 'default-prometheus-service'.|com.pushtechnology.diffusion.webserver.services.HTTPService2021-11-12 13:52:30.292|INFO|main|PUSH-000337|||Added file service virtual host 'default' to serve files from 'html' to requests where the host header matches '.*'.|com.pushtechnology.diffusion.webserver.services.fileservice.FileService2021-11-12 13:52:30.308|INFO|main|PUSH-000072|||Connector 'Client Connector' started, listening on 0.0.0.0/0.0.0.0:8081.|com.pushtechnology.diffusion.comms.connector.ConnectorImpl2021-11-12 13:52:30.308|INFO|main|PUSH-000712|||Connector 'Client Connector' has scheduled pings every 90000ms.|com.pushtechnology.diffusion.comms.connector.PingScheduler2021-11-12 13:52:30.544|INFO|main|PUSH-000806|||The file service is serving files at https://192.168.1.156:8081 .|com.pushtechnology.diffusion.comms.connector.ConnectorImpl2021-11-12 13:52:30.544|INFO|main|PUSH-000193|||Connector 'High Volume Connector' has loaded a TLS keystore from 'C:\Work\Diffusion 6.7.2_2\etc\sample.keystore'.|com.pushtechnology.diffusion.comms.connector.ConnectorImpl2021-11-12 13:52:30.544|INFO|main|PUSH-000072|||Connector 'High Volume Connector' started, listening on 0.0.0.0/0.0.0.0:8092.|com.pushtechnology.diffusion.comms.connector.ConnectorImpl2021-11-12 13:52:30.544|INFO|main|PUSH-000712|||Connector 'High Volume Connector' has scheduled pings every 90000ms.|com.pushtechnology.diffusion.comms.connector.PingScheduler2021-11-12 13:52:30.778|INFO|main|PUSH-000806|||The file service is serving files at https://192.168.1.156:8092 .|com.pushtechnology.diffusion.comms.connector.ConnectorImpl2021-11-12 13:52:30.809|INFO|main|PUSH-000165|||Diffusion server started.|com.pushtechnology.diffusion.DiffusionController
```

- Open your browser and hit [http://localhost:8081/](http://localhost:8080/)

You can also view the Management Console.

![article17\_image13](https://support.diffusiondata.com/hs-fs/hubfs/article17_image13.jpg?width=602&height=262&name=article17_image13.jpg)

Similarly, you can setup as many instances as you want on your local machine. Ensure that you supply different ports for Client connector and High Volume connectors and you should be good to go!

- [Administer](https://support.diffusiondata.com/knowledge/administer?hsLang=en)
- [Build](https://support.diffusiondata.com/knowledge/build?hsLang=en)
- [Getting Started](https://support.diffusiondata.com/knowledge/getting-started?hsLang=en)
- [Install & Upgrades](https://support.diffusiondata.com/knowledge/install-upgrades?hsLang=en)
- [Management & Monitoring](https://support.diffusiondata.com/knowledge/management-monitoring?hsLang=en)
- [Security](https://support.diffusiondata.com/knowledge/security?hsLang=en)
- [Support](https://support.diffusiondata.com/knowledge/support?hsLang=en)
- [Troubleshooting](https://support.diffusiondata.com/knowledge/troubleshooting?hsLang=en)
- [Cloud](https://support.diffusiondata.com/knowledge/cloud?hsLang=en)

[![Chill listening crop-3](https://support.diffusiondata.com/hs-fs/hubfs/DiffusionData%20Favicon.png?width=24&height=24&name=DiffusionData%20Favicon.png "Chill listening crop-3")](http://diffusiondata.com)

diffusiondata.com Help Center

Copyright © 2026, DiffusionData