python http.server <port>
Arguments
| Name | Description |
|---|---|
port | Port number |
Options
| Name | Description |
|---|---|
-d, --directory <arg> | Choose the directory to initiate the server from |
-b, --bind <IP Address> | Bind to a specific IP address |
--cgi | Enable the CGIHTTPRequestHandler |