Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Web Server View Port Command Line Option?

When starting RoboDK via the command line, is it possible to define the Web Server View Port?

I know for the API port, there is a command line option "-PORT 12345". 

Is there a similar option for the web server view?
Yes, you can specify the web server view port using the WebViewPort command:

Keep in mind that 2 ports in a row will be used for the web server view. The second port will be used for WebSockets to keep the scene updated.

Like most of the other command line options, you can also change the port and activate the web server view using a command:

RDK.Command("WebViewPort", 12346)
Thanks Albert, asked and answered!

Users browsing this thread:
1 Guest(s)