Forums

Find answers, ask questions, and connect with our
community all around the world.

Home Forum Deutsches Omnis Forum Node.JS – error when starting Omnis APP Server

  • Node.JS – error when starting Omnis APP Server

    Posted by TomFFM on September 27, 2023 at 2:08 pm

    How to solve the problem with the error-message :

    “node.js Port 6102 is being used by another process”

    by starting Omnis-App-Server 10.22 on Windows 11.

    Firewall-Settings ?

    Thanx for an idea,

    Thomas

    Götz Krija replied 5 months ago 2 Members · 1 Reply
  • 1 Reply
  • Götz Krija

    Member
    September 28, 2023 at 9:06 am

    Hi Thomas,

    I think the message is caused by the Remote Debug Server. The specified port is probably used by another (Omnis) process.

    You can enable the RemoteDebug menu in the Omnis Server by executing the following (e.g. in the $construct of the Startup_Task in your library):

    Do $root.$prefs.$showremotedebugmenu.$assign(kTrue)

    If you then open the menu item in the Omnis Server, you can set a different port in the configuration window. After restarting Omnis, the message should no longer appear in the trace log.

    Alternatively, you can specify the debugPort in the remote_debug_server_config.json file in your Omnis Server installation (C:\Users\[USER]\AppData\Local\Omnis Software\OS 10.22 31896 SVR\clientserver\server\remotedebug\remote_debug_server_config.json).

    When Omnis Server is running as a Windows service, the remote_debug_server_config.json file is in the system profile’s AppData area. See Technical Note: https://www.omnis.net/developers/resources/technotes/tnwi0002.jsp

    Götz

Log in to reply.