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

Web服务器视图Port Command Line Option?

#1
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?
#2
Yes, you can specify the web server view port using the WebViewPort command:
-WebViewPort=12346

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:

Code:
RDK.Command("WebViewPort", 12346)
#3
Thanks Albert, asked and answered!




Users browsing this thread:
1 Guest(s)