07-26-2023, 06:03 AM
(07-25-2023, 07:50 AM)Albert Wrote:The -PORT argument is required when starting RoboDK if you want to specify the port. However, when you start RoboDK from the API it is better to use the port argument so the client API and RoboDK are both using the same port.I tried various things, but the default port (20500) is set instead of the specified port (here '20503').
If you change the port range settings it allows each instance of RoboDK to use a different port. This port will be used by Python scripts triggered from RoboDK.
Code:
./RoboDK -PORT 20503
- TERMINAL
Code:
Running arguments...
运行参数eter: "-PORT"
EXECUTING:"-PORT":...
-PORT:"-1"
运行参数eter: "20503"
EXECUTING:"20503":...
Statusbar: "File not found: 20503"
Starting RoboDK API Server
Silent message: "Server is running at localhost:20500"
RoboDK API status: Server is running at localhost:20500
RoboDK is Running...
* Ubuntu22.04, RoboDK 5.6