This website uses cookies to ensure you get the best experience on our website.

Skip to content
LOGO
  • Company

    About IGNEK

    Learn about our story and our mission.

    Careers

    We're hiring!

    We always looking for talented peoples. Join our team!

    Blogs

    The latest industry news, updates and info.

    Case Studies

    Take a closer look at the projects we've delivered

    Webinar

    Watch our latest organized webinar

    Get in touch with our HR team

    • hr@ignek.com
    • +91 93284 95160
    • Ahmedabad, Gujarat, India – 382470
  • Services

    Enterprise Portal Development

    Custom Enterprise Portal Development for flawless Solutions

    Dedicated Development Team

    Expand Teams, Optimize Development with Our Expertise

    Back-end Development

    Empowering your digital presence with robust backend development expertise

    Front-end Development

    Crafting engaging user experiences through expert frontend development

    Digital Transformation

    Embrace digital transformation by modernizing process

    SaaS Development

    Transform your business with SaaS Innovative Solutions

    Technologies

    Liferay Services

    Development & Customization

    Theme

    Upgradation

    Migration

    Proof of Concept

    Performance Tunning

    Architecture

    Support & Maintenance

    E-commerce

    Expert Advice

    React Services

    Enterprise Development

    Custom Application

    Single Page Application

    Architecture

    API Integration

    Migration

    Consulting

    Maintenance & Support

    Spring Boot Services

    Web Service

    MVC Web Development

    API Integration

    Security

    Migration

    Microservices

    Support & Maintenance

    AEM Services

    Consulting Service

    Site Development

    Migration & Upgradation

    Integration

    Maintenance & Support

    Custom Solutions

    Content Management

    Team Augementation

  • Solution

    Ready for digital excellence

    In our rapidly evolving world, businesses are always on the lookout for fresh ways to improve their operations and connect with their audiences.

    Contact US

    Solutions

    SaaS : Software As A Service

    Transforming industries through cutting edge SaaS solutions.

    Customer Portal : Boost Business Productivity

    Streamline operations and enhance productivity with our Customer Portal solution.

    Liferay Based Intranet Portal

    Internal portal for company communication, collaboration and resources

    Integration

    Matomo Integration with Liferay

    Integrate Matomo to enable user interactions seamlessly.

    Microsoft Teams integration with Liferay

    Integrate to enable seamless collaboration, messaging within your portal.

    Jira Integration With Liferay

    Optimizes business operations by integrating with Jira.

  • Hire Us

    Liferay

    Get expert Liferay developers for seamless portal solutions.

    React JS

    Get expert ReactJS developers for dynamic web solutions.

    Web Developer

    Get custom web solutions from IGNEK's expert developers.

    Spring Boot

    Get top-notch Spring Boot developers for your project success!

    Healthcare

    Get top Healthcare Developers for cutting-edge medical software.

    MERN Stack

    Get expert MERN developers from IGNEK for custom, innovative project solutions.

    Why Hire Developers From IGNEK ?

    • Certified Developer
    • Transparent Communication
    • Flexible Hiring Modals
    • Fully Signed NDA
    • Cost Effective
    • Easy Exit Policy

    Get in touch with our Sales team

    • sales@ignek.com
    • +91 6351576580
    • info@ignek.com
    • Ahmedabad, Gujarat, India – 382470
SCHEDULE CALL
  • COMPANY
    • About
    • Case Studies
    • Blogs
    • Career
    • Webinar
  • SERVICES
    • Enterprise Portal Development
    • Dedicated Development Team
    • Back-end Development
    • Front-end Development
    • Digital Transformation
    • SaaS Development
  • SOLUTION
    • Customer Portal:  Boost Business Productivity
    • SaaS : Software as a Service
    • Liferay Based Employee Intranet Portal
  • TECHNOLOGY
    • Liferay Services
      • Liferay Development and Customization
      • Liferay Theme Development Service
      • Liferay DXP 7.4 Upgrade
      • Liferay Migration
      • Liferay Proof Of Concept
      • Liferay Performance Tuning
      • Liferay Architecture Design Service
      • Liferay Support And Maintenance Service
      • Liferay Ecommerce Development
      • Liferay Expert Advice
    • ReactJS Services
      • ReactJS Enterprise Application Development
      • ReactJS Custom Application Development
      • ReactJS Single Page Application Development (SPA)
      • ReactJS Applications Architecture
      • ReactJS API Integration
      • ReactJS Migration
      • ReactJS Consulting
      • ReactJS Maintenance and Support
    • Spring Boot Services
      • Spring Boot Web Development Service
      • Spring MVC Web Development
      • Spring Boot API Integration Service
      • Spring Boot Security
      • Spring Boot Migration Service
      • Spring Boot Microservices
      • Spring Boot Support & Maintenance Service
    • AEM Development Services
      • AEM Consulting Services
      • AEM Site Development
      • AEM Migration & Upgradation
      • AEM Integration Services
      • AEM Maintenance & Support
      • AEM Content Management
      • Custom AEM Solutions
      • AEM Team Augmentation
  • INTEGRATION
  • HIRE US
    • Hire Liferay Developer
    • Hire ReactJS Developer
    • Hire Spring Boot Developer
    • Hire Healthcare Developer
    • Hire Web Developer
    • Hire MERN Stack Developer
  • CONTACT US
  • Company

    About IGNEK

    Careers

    We're hiring!

    Blogs

    Case Studies

    Webinar

    Get in touch with our HR team

    • hr@ignek.com
    • +91 93284 95160
    • Ahmedabad, Gujarat, India – 382470
  • Services

    Enterprise Portal Development

    Dedicated Development Team

    Back-end Development

    Front-end Development

    Digital Transformation

    SaaS Development

    Technologies

    Liferay Liferay Services
    • Development & Customization
    • Theme
    • Upgradation
    • Migration
    • Proof of Concept
    • Performance Tuning
    • Architecture
    • Support & Maintenance
    • E-commerce
    • Expert Advice
    React React Services
    • Enterprise Development
    • Custom Application
    • Single Page Application
    • Architecture
    • API Integration
    • Migration
    • Consulting
    • Maintenance & Support
    Spring Boot Spring Boot Services
    • Web Service
    • MVC Web Development
    • API Integration
    • Security
    • Migration
    • Microservices
    • Support & Maintenance
    AEM AEM Services
    • Consulting Service
    • Site Development
    • Migration & Upgradation
    • Integration
    • Maintenance & Support
    • Custom Solutions
    • Content Management
    • Team Augmentation
  • Solution

    Ready for digital excellence

    In our rapidly evolving world, businesses are always on the lookout for fresh ways to improve their operations and connect with their audiences.

    Contact US

    Solutions

    SaaS : Software As A Service

    Customer Portal : Boost Business Productivity

    Liferay Based Intranet Portal

    Integration

    Matomo Integration with Liferay

    Microsoft Teams integration with Liferay

    Jira Integration With Liferay

  • Hire Us

    Liferay

    React JS

    Web Developer

    Spring Boot

    Healthcare

    MERN Stack

    Why Hire Developers From IGNEK ?

    • Certified Developer
    • Transparent Communication
    • Flexible Hiring Modals
    • Fully Signed NDA
    • Cost Effective
    • Easy Exit Policy

    Get in touch with our Sales team

    • sales@ignek.com
    • +91 6351576580
    • IGNEK
    • Ahmedabad, Gujarat, India – 382470
  • SCHEDULE CALL

Start two or more Liferay servers simultaneously on a machine

  • Liferay
  • May 1, 2023

Share On :

Problem : 

How to start two Liferay servers at the same time with different ports ?

Sometimes we need to start multiple Liferay servers into one system in order to locally debug the problems with the clustering or remote staging features.

Solution :

We can modify the Liferay Tomcat server configuration and change the Elasticsearch properties using Liferay OOTB.

Environment Requirements :
  • Liferay Portal

Here I am starting two Liferay servers simultaneously.

I am choosing the following version, You can choose as per your requirements. 

  1.  Liferay-dxp-7.4.13.u50
  2.  Liferay-dxp-7.4.13.u60

First Liferay Server

Please follow below steps to start the first liferay

  1. Start  liferay-dxp-7.4.13.u50 → tomcat-9.0.65 → bin → startup (for Windows: batch file, and for Linux: shell script file)
Startup file in bin folder of Liferay tomcat
  1. After the successful startup of liferay, Sign in to the site as an Admin.
  2. Sign in successfully with localhost:8080
Admin home screen of Liferay
  1. Next, open the Global Menu  (◧) .Then navigate to Control Panel → Configuration → System Settings.
navigate to Control Panel
  1. Click on System Settings → Platform section → click on the Search.
Exploring system setting in control panel
  1. Click on Search, open a new tab, and look like the below image:
Exploring search in system setting
  1. Click on Elasticsearch 7 and replace the existing embedded HTTP port – 9201 with the new embedded HTTP port – 9301 and then click on the Save button.
Change Elasticsearch HTTP port
  1. Restart the Liferay. Check Liferay starts with new Elasticsearch at the new port.
Liferay restart with new Elasticsearch port
  1. In the portal-setup-wizard.properties file, add the following line:

module.framework.properties.osgi.console=11312

(Port changed here from default 11311 to 11312).

Second Liferay Server

Follow the below steps.

  1. First you have to modify the liferay tomcat server configuration.
    It’s required to change http connector port, Server port, Redirect ports and AJP connector port in tomcat server.xml file 
  2. Open  liferay → tomcat-9.0.65 → conf → server.xml
Locating server file in conf folder of Liferay tomcat
  1. Open the server.xml file and update the following ports.
    1. Server port
      Here, the server port is 8005.
      Now you have to change this port from 8005 to 9005.
    BeforeAfter
    <Server port=”8005″ shutdown=”SHUTDOWN”><Server port=”9005” shutdown=”SHUTDOWN”>
    1. Http connector
      Here the http connector port is 8080.
      Now you have to change this port from 8080 to 8090.
    BeforeAfter

    <Connector port=”8080″ protocol=”HTTP/1.1″ 

    connectionTimeout=”20000″

    redirectPort=”8443″ URIEncoding=”UTF-8″ />

    <Connector port=”8090” protocol=”HTTP/1.1″ 

    connectionTimeout=”20000″

    redirectPort=”9443” URIEncoding=”UTF-8″ />

    1. AJP connector
      Here the AJP connector port is 8009.
      Now you have to change this port from 8009 to 9009.
    BeforeAfter

    <Connector protocol=”AJP/1.3″ 

    address=”::1″

    port=”8009″

    redirectPort=”8443″ URIEncoding=”UTF-8″ />

    <Connector protocol=”AJP/1.3″ 

    address=”::1″

    port=”9009“

    redirectPort=”9443” URIEncoding=”UTF-8″ />

  1. Start  liferay-dxp-7.4.13.u60 → tomcat-9.0.65 → bin → startup (for Windows: batch file, and for Linux: shell script file)
Launch Liferay on Tomcat startup script
  1. After the successful startup of Liferay, sign in to the site as an Admin.
  2. Sign in successfully with localhost:8090
Liferay startup success at 8090 port
  1. There are no error messages when starting two Liferays at the same time with different ports.
Fiest Liferay logs to check running smoothly on different ports
Second Liferay logs with default port

Explore Our Services

Discover how we can help your business thrive, whether you’re running a small startup, an SME, or a large enterprise. We’re here to understand your unique needs and goals, offering the expertise and resources to support your journey to success.

Stay informed about our Liferay services and updates by subscribing to our newsletter—just fill in the details below to subscribe.

Loading
Loading...

Related Blogs

March 17, 2020
custom configuration under Instance Settings in Liferay 7.2 Cover Image
Create custom configuration under Instance Settings in Liferay 7.2
August 5, 2022
Liferay server autostart script in ubuntu cover Image
Liferay server autostart script in ubuntu
July 15, 2020
Configuration Creator in Liferay Cover Image
Configuration Creator in Liferay 7.2
Loading...

Digital Solutions for Your Business with IGNEK

4.9

5.0

5.0

5.0

LOGO

Making the world a better place through constructing elegant hierarchies

COMPANY

  • About
  • Career
  • Case Study
  • Blogs

SERVICES

  • Enterprise Portal Development
  • Dedicated Development Team
  • Back-end Development
  • Front-end Development
  • Digital Transformation
  • SaaS Development

HIRE US

  • Liferay
  • Spring Boot
  • ReactJS
  • Healthcare
  • MERN Stack
  • AEM

CONTACT

  • info@ignek.com
  • info@ignek.com
SALES
  • sales@ignek.com
  • (+91) 635 157 6580
CAREER
  • hr@ignek.com
  • (+91) 932 849 5160
  • E 910-912, Ganesh Glory 11, Jagatpur Road, SG Highway, Ahmedabad, Gujarat - 382470

© 2018-2025 IGNEK, Inc. All rights reserved

Linkedin Facebook X-twitter Instagram