Run a server application
A running server application in a SavviHub workspace instance can be exposed on a configured port. You can expose ports on the workspace create page or edit page.

Configure ports

In Advanced Setting section of the workspace create form and edit form, you can add ports to expose.
Workspace create form
The workspace should be stopped before edited.
Workspace edit form

Run a server application

A simple python file server is running in this example as below.
2
mnist
3
4
[email protected]:~$ ls mnist
5
test.csv train.csv
6
7
[email protected]:~$ python -m http.server 8080
8
Serving HTTP on 0.0.0.0 port 8080 (http://0.0.0.0:8080/) ...
Copied!
Then click the 8080 fileserver link in the workspace metadata table.
Workspace metadata
You can access the running server application over the exposed port.
Simple Python HTTP file server
Last modified 4mo ago