[Question] What is the "gui_port_socker" for?
I can open the GUI on the port I specified in gui_port, but what is gui_port_socket for?
Please excuse my networking stupidity.
gui_port_socket is for the Websocket which is used to pass data from the Server to the GUI.
It's the Socket.io server port that feeds the data to the GUI. Due to the way this was implemented it has to run on a different port.
Your browser will get the data it needs from the socket port.
If you run multiple bots on one computer you would have to input a unique portnumber for each bot (this is why it is in the config).
@Sieberkev so specify 2 ports for each bot? Can I only set gui_port and disable gui_port_socket? (ie, set it to 0)
Oh nvm I got it, sorry guys for my stupid question
How can i open the GUI?
You have to visit http://localhost:8000/ in your browser when the bot is running
and how do you setup a unique port? so you can run multiple bots at the same time
For now, in the configuration file:
Port where the webserver (gui) should listen, 0 = do not listen
gui_port=8000
Port where the socketserver should listen, 0 = do not listen
gui_port_socket=8001
When multibot support will be done, I guess all bots can be followed via the one GUI but that is far from ready yet.
any specific numbers you need to fill in?
No, just be sure you aren't using ports that are possible in use yet :) When they are in use you will get an error on startup so you know you have to change the number
Fyi: updated and now only a socket port is specified.