Skip to main content

HTTP server (http.server)

The HTTP server enables lightweight web serving files or handling requests.

Available Commands

http.server

  • Description: Start or stop the HTTP server. Usage: http.server on|off
  wp3-pro > http.server on
  wp3-pro > http.server off

Parameters

http.server.address

  • Description:IP address where the HTTP server will bind. Default: 127.0.0.1
  wp3-pro >set http.server.address 127.0.0.1

http.server.path

  • Description: Path to the content directory served by the HTTP server. Default: (empty)
  wp3-pro >set http.server.path /var/www

http.server.port

  • Description: Port number where the HTTP server will bind. Default: 80
  wp3-pro >set http.server.port 8080