hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 1 | nfd-status-http-server |
2 | ====================== | ||||
3 | |||||
Davide Pesavento | 9f6a7d9 | 2020-10-06 15:21:48 -0400 | [diff] [blame] | 4 | Synopsis |
5 | -------- | ||||
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 6 | |
Davide Pesavento | 9f6a7d9 | 2020-10-06 15:21:48 -0400 | [diff] [blame] | 7 | **nfd-status-http-server** [**-h**] [**-a** *IPADDR*] [**-p** *PORT*] [**-r**] [**-v**] |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 8 | |
9 | Description | ||||
10 | ----------- | ||||
11 | |||||
Davide Pesavento | 48108e0 | 2024-05-13 19:04:25 -0400 | [diff] [blame] | 12 | ``nfd-status-http-server`` is a daemon that enables the retrieval of NFD's status over HTTP. |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 13 | |
14 | Options | ||||
15 | ------- | ||||
16 | |||||
17 | ``-h`` | ||||
Davide Pesavento | 9f6a7d9 | 2020-10-06 15:21:48 -0400 | [diff] [blame] | 18 | Show help message and exit. |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 19 | |
Junxiao Shi | f0dfb33 | 2017-02-02 05:32:25 +0000 | [diff] [blame] | 20 | ``-a <IPADDR>`` |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 21 | HTTP server IP address (default is 127.0.0.1). |
22 | |||||
Davide Pesavento | 9f6a7d9 | 2020-10-06 15:21:48 -0400 | [diff] [blame] | 23 | ``-p <PORT>`` |
Davide Pesavento | 48108e0 | 2024-05-13 19:04:25 -0400 | [diff] [blame] | 24 | HTTP server port number (default is 6380). |
Davide Pesavento | 9f6a7d9 | 2020-10-06 15:21:48 -0400 | [diff] [blame] | 25 | |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 26 | ``-r`` |
27 | Enable HTTP robots to crawl (disabled by default). | ||||
28 | |||||
29 | ``-v`` | ||||
30 | Verbose mode. | ||||
31 | |||||
32 | Examples | ||||
33 | -------- | ||||
34 | |||||
Davide Pesavento | 48108e0 | 2024-05-13 19:04:25 -0400 | [diff] [blame] | 35 | Start NFD's HTTP status server on all IPv4 interfaces, port 80 (requires root):: |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 36 | |
Davide Pesavento | 48108e0 | 2024-05-13 19:04:25 -0400 | [diff] [blame] | 37 | nfd-status-http-server -a 0.0.0.0 -p 80 |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 38 | |
Davide Pesavento | 48108e0 | 2024-05-13 19:04:25 -0400 | [diff] [blame] | 39 | Start NFD's HTTP status server on all IPv6 interfaces, port 8000:: |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 40 | |
Davide Pesavento | 48108e0 | 2024-05-13 19:04:25 -0400 | [diff] [blame] | 41 | nfd-status-http-server -a :: -p 8000 |