Message 1 of 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
[ FlexSim 24.0.3 ]
Hi community,
I have an issue with the webserver and I am searching a solution.
I need to run two different webservers in the same machine to support two different FlexSim versions.
If I run one webserver per time, everythings works. When I run both simultaneously, only one is initialize correctly. The second one return this error
Error:
listen EADDRINUSE: address already in use \\.\pipe\FlexsimServerRegistrationPipe
Error: listen EADDRINUSE: address already in use \\.\pipe\FlexsimServerRegistrationPipe
at Server.setupListenHandle [as _listen2] (node:net:1855:21)
at listenInCluster (node:net:1920:12)
at Server.listen (node:net:2025:5)
at Object.runServer [as run] (C:\Program Files (x86)\FlexSim Web Server 22 - CV\webserver\server.js:356:22)
at runServer (C:\Program Files (x86)\FlexSim Web Server 22 - CV\webserver\index.js:125:16)
at Object.<anonymous> (C:\Program Files (x86)\FlexSim Web Server 22 - CV\webserver\index.js:129:5)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
There was a Problem with the FlexSim WebServer.
Press Enter to Exit.I suppose that it isn't supported by webserver, but I need to confirm it. Do you have any workaround?
You can reproduce the problem in this easy way:
- install webserver 21.0 and configure it;
- install webserver 22.2 and configure it;
- run the webserver 21.0 (should work correctly);
- run the webserver 22.2 (shoudn't work);
I hope to find a solution!
Solved! Go to Solution.
