Problem How to start two or more Liferay servers simultaneously with different ports? Sometimes, we need to start multiple Liferay servers on the same system to locally debug problems with clustering or remote staging features. Solution We can modify the Liferay Tomcat server configuration and change the Elasticsearch properties for two separate Liferay instances (e.g., […]
Problem Why does the Socket.IO server stop running when the terminal is closed? Solution Configure and run the Socket.IO server as a systemd service to ensure it remains active after terminal closure. Prerequisites Here’s how to do it step-by-step Step 1: Create a systemd service file Run this command to create a socketio.service file to […]