All student sessions can launch their own web or web socket server and access their server from a browser. To enable this capability first turn the Web/WS server to ON in the Resources section for the part setting.

When the student start the assignment, he/she can get a port number using the script voc_get_proxied_server_port. A web server or a web socket server can now be started which listens to this port. For example, following bash shell script would start a python web server -


python3 $port

To access the server get the URL from the Details tab in the IDE -

Use the URL to access the web server -

Did this answer your question?