Example 4:
Set the HTTP server port to 8081 with required authorization for access. The userid should be set to
“hercuser” and the password to “hercpswd”.
HHC00013I Herc command: 'http port 8081 auth hercuser hercpswd'
HHC02204I port set to port=8081 auth userid<hercuser> password<hercpswd>
Figure 155: HTTP command (set HTTP server port and authorization)
Example 5:
Start the HTTP server.
HHC00013I Herc command: 'http start'
HHC01807I HTTP server signaled to start
HHC00100I Thread id 00001344, prio 0, name 'HTTP server' started
HHC01802I Using HTTPROOT directory 'D:/Hercules/html/'
HHC01803I Waiting for HTTP requests on port 8081
Figure 156: HTTP command (start HTTP server)