Next Previous Up Contents
Next: sqlclient: Executes SQL statements
Up: server: Runs an HTTP server to perform STILTS commands
Previous: Usage

### B.24.2 Examples

Here are some examples of running the `server` command:

    stilts server

  Starts a server on the default port until it is interrupted. Most tasks are available in server mode. A message will be printed on standard output indicating the base URL at which it may be accessed, for instance "`http://localhost:2112/stilts/`".

    stilts server port=2100 basepath=tableserv

  Starts a server running on port 2100 with a given URL. The URL at which, for instance, the `plot2d` task can be executed will be "`http://`host`:2100/tableserv/task/plot2d`"

    stilts server tasks="plot2d plothist"

  Starts a server with a restricted list of tasks available. Only the plotting tasks `plot2d` and `plothist` will be available for execution by clients.

Next Previous Up Contents
Next: sqlclient: Executes SQL statements
Up: server: Runs an HTTP server to perform STILTS commands
Previous: Usage

STILTS - Starlink Tables Infrastructure Library Tool Set
Starlink User Note256
STILTS web page: http://www.starlink.ac.uk/stilts/
Author email: m.b.taylor@bristol.ac.uk
Mailing list: topcat-user@jiscmail.ac.uk