• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Node+Phusion port conflicts

mytchb

New Pleskian
Server operating system version
Ubuntu 22.04.5 LTS
Plesk version and microupdate number
Plesk Obsidian 18.0.68
When starting a Next.js Node app with the Plesk UI, it uses port 3000 by default.
This is an issue if I want to start a new Next.js app on a different domain, as it conflicts with the same port, giving an error "This address is already in use".

If I stop the first node app process, it frees up the port and I can start the second app.
When I hit the first app's domain, Phusion Passenger gets the request, sees the app is stopped and restarts it - noting that port 3000 is unavailable so it dynamically assigns a new port and both apps are running.

Can there be a way where Phusion does this when starting node apps via the UI?

Note: I could specify a fixed unique port to run for each app, but Plesk+Phusion has the ability to dynamically assign internal ports and route them so why not use it.
 
Back
Top