Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Multiple Instances of MX will not run [Fixed]

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Multiple Instances of MX will not run [Fixed]

Post by mcrossley »

Steve, you may be aware but you cannot run multiple instances of MX on the same box. I was using a Pi.

You can change the web port of the second instance (I used 8999), but it tries to start using the same web sockets port (8002) and fails as it is already in use.

I see the port is coded into dashboard.js, so if it were to be configurable at some stage, I would have to edit that file as well.

Not to worry, I'll move MX2 back to the main server, and then try MX1 on the Pi again...
Last edited by mcrossley on Thu 29 Jan 2015 2:09 pm, edited 1 time in total.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Multiple Instances of MX will not run

Post by steve »

mcrossley wrote:I see the port is coded into dashboard.js, so if it were to be configurable at some stage, I would have to edit that file as well.
I guess dashboard.js could query the server for the websockets port, if it were configurable.
Steve
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Multiple Instances of MX will not run [Fixed]

Post by mcrossley »

Steve, I am now running two instances of MX on the same server, I just incremented the ports by one for the second instance - works a treat, thanks.

No C1 running at all now.
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: Multiple Instances of MX will not run [Fixed]

Post by gwheelo »

I just incremented the ports by one for the second instance
Hello Mark -

I have one instance of MX up and running. I see the need to change ports for a second instance and think I have that half resolved using CumulusMX.exe - port 8988 - but how do I change the web socket port to, for example, port 8003. I bet you have a bat file or two to facilitate the start as well - any chance you might share.

George Wheelock
Image
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Multiple Instances of MX will not run [Fixed]

Post by mcrossley »

Hi George, you use the -wsport 8888 parameter to change the web socket port number on the second instance.

I am back to running a single instance on a rPi so no fancy batch scripts.
Locked