loading...

Get or change the port of the HTTP server

http_server_port(port)

HttpServerPort(port)

Arguments

port

port on which the server should run (both help and SciViews). By default, it is port 8888. Note that this server runs only locally and can only serve requests from 127.0.0.1 (because communication is not crypted).

Value

A number with the port of the HTTP server.

See also

start_http_server() for a complete example.

Examples

http_server_port()
#> [1] 8888