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 | |
| 12 | ``nfd-status-http-server`` is a daemon that enables retrieval of NFD status via HTTP protocol. |
| 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>`` |
| 24 | HTTP server port number (default is 8080). |
| 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 | |
| 35 | Enable NFD HTTP status server on all IPv4 interfaces:: |
| 36 | |
| 37 | nfd-status-http-server -p 80 -a 0.0.0.0 |
| 38 | |
| 39 | Enable NFD HTTP status server on all IPv6 interfaces:: |
| 40 | |
| 41 | nfd-status-http-server -p 80 -a :: |