Port 5053 in use, waiting… message

Modified on Thu, 10 Oct at 11:24 AM

If you are seeing the message “Port 5053 in use, waiting…” in your debug log or on the console, it indicates that an RLM license server is already running on port 5053. Port 5053 is the default port for RLM licenses.


- Steps to Confirm and Resolve the Issue:


1. Check Active Connections:

  • Open a Command Prompt (CMD) window and run the following command to display a list of active connections and their associated processes:
    netstat -ano | findstr :5053
  • If the port is associated with two different PIDs (Process IDs), this confirms the issue.


2. Identify the Process Using the Port:

  • To determine which process is using the port, use the following command (replace 5304 with the PID found in the previous step):
    tasklist /FI "PID eq 5304"


  • This will display the process using the port.


3. Verify the Process in Task Manager:

  • Open Task Manager and go to the Details tab.
  • Look for the PIDs identified earlier, confirm the associated processes, and open the file location.


If you confirm that this is a duplicate RLM service from a previous DesignBuilder license server installation, follow  step 4 below to remove it:


4. Remove the Duplicate Service:

  • Open a Command Window (CMD window) with elevated privileges and use the cd command to navigate to the RLM folder
  • Run the service_remove.cmd from the CMD window. Ensure the service name matches the installed service and that you are running the command from the correct folder location.
  • In some cases it may be need to remove all rlm services and install the service again. Before installing the service go to Task Manager and on Details tan find the rlm.exe process and end this process tree.


- If a Third-Party software also uses RLM application:


If another application is using RLM, you can assign a different port for the DesignBuilder license.


1. Open the DesignBuilder license file .lic in a text editor.


2. In the first line, change the DesignBuilder client port from 5053 to another port (e.g., 5060) after the server hostID as shown below:



3. After making the changes, save the license file,


4. Open Windows Services area and restart the DesignBuilder License Server service to apply the new port. 


5. Finally, update the port used on the client side (e.g., 5060)  by opening DesignBuilder License Manager from menu Help > License 

For more details see "Step 2- Set up Client Machines"




- Changing the Web Server Port (from 5054):


To move away from port 5054, for example, to port 5056, follow these steps:


1. Edit the admin_interface.cmd file that is located in the RLM folder:

  • Open the admin_interface.cmd script in a text editor and replace this line:

    @start "" /b "http://localhost:5054"

    with:

    @start "" /b "http://localhost:5056"


2. Edit the service_install.cmd script:

  • In the service_install.cmd file, update the following line:

    rlm -install_service -dlog "%CD%\designb_rlm.log" -service_name "DesignBuilder License Server" -c "%CD%" -ws 5056


3. Save the changes and reinstall the service:

  • Open a Command Window (CMD window) with elevated privileges and use the cd command to navigate to the RLM folder 
  • Run the service_remove.cmd from the CMD window.
  • Go to Task Manager and on Details find the rlm.exe process and end this process tree.
  • From the CMD window, run the updated service_install.cmd script . 


4. Verify the new Port:

  • Open a web browser and type localhost:5056. This should display the RLM server interface page.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article