Launching an HTTP Server

Start/Stop Http Server lets you start and stop an HTTP server in Dymola Behavior Modeling, using an interface.

  1. Select Python option.

    Note: Select the JavaScript option if you want to use the JavaScript API.

  2. Optional: Specify port number in the Port field.

    Note: The default port numbers for Python and JavaScript are 44000 and 8082 respectively. If the port number is changed, it is saved and displayed as the default port number when the dialog box is reopened.

  3. To start the server, click Start.
    The server is started and configured to listen on the specified port.
  4. To stop the server, click Stop.
    Note: If you close the Dymola Http Server dialog box while the server is running, a new dialog box appears to ask for confirmation. Click Yes to stop the server or No to keep the server running.