Keyboard Shortcuts
Likes
Search
Accessing the Hercules Console from a web Browser
开云体育I am running Hercules R3.13 and VMCE-V1.1.2 on a Windows 11 computer (i.p. address 192.168.15.61) and would like to access the Hercules Console from my Web Browser (firefox) on that machine. I enter in the browser and the connection simply times out. I have entered the netstat -a command (see below) and it does not appear that anything is listening on port 8081. Can anyone give me some insight into what is or isn't happening. Ed. C:\windows\system32>netstat -a |
开云体育Ed, That’s disabled by default. You need to remove the “#” from the config line ? ? #HTTPPORT?????? 8081 ? Dave ? From: [email protected] <[email protected]> On Behalf Of Edward lott
Sent: 14 August 2022 19:15 To: [email protected] Subject: Re: [h390-vm] Accessing the Hercules Console from a web Browser ? I am running Hercules R3.13 and VMCE-V1.1.2 on a Windows 11 computer (i.p. address 192.168.15.61) and would like to access the Hercules Console from my Web Browser (firefox) on that machine. I enter in the browser and the connection simply times out. I have entered the netstat -a command (see below) and it does not appear that anything is listening on port 8081. Can anyone give me some insight into what is or isn't happening. Ed. C:\windows\system32>netstat -a |
开云体育Dave: ??? OK adding the HTTPPORT 8081 line works. In reading the configuration file I thought that 1.) port 8081 was the default and 2.) the HTTP PORT ${HTTPPORT:=8081} line was what enabled it. I learn something new every day. Regards: Ed. # HTTP Configuration for Hercules V4.x Ed.. ================================================ On 8/14/2022 2:02 PM, Dave Wade wrote:
|
Edward lott wrote:
OK adding the HTTPPORT 8081 line works. In reading theAFAIK, there is no default. The port number must be specified on the HTTPPORT configuration file statement itself. And as Dave pointed out, that particular statement was commented out. Thus, the Hercules HTTP Server was never started. It is the existence of the HTTPPORT statement in your configuration file that triggers the Hercules HTTP Server to start. Without it, the server will never start. and 2.) the HTTP PORT ${HTTPPORT:=8081} line wasThat's a Hercules v4.x Hyperion configuration file statement, *not* a Hercules v3.x configuration file statement. Originally, Hercules supported two "http" statements: HTTPPORT and HTTPROOT: * and, as just explained, it is the existence of the HTTPPORT statement which triggers the server to start. Starting with Hercules 4.0 however, both statements were deprecated and replaced with the "HTTP" statement instead: * Now, with Hercules 4.x, you specify all HTTP Server configuration values via the "HTTP" statement. One specifying the server's root directory ("HTTP ROOT directory") and the other specifying the port number the server should listen for connections on ("HTTP PORT nnnn ..."). But even then (even with *both* statements specified), with Hercules 4.x, the server will not automatically start. To start the Hercules HTTP Server, with Hercules 4.x, you have to *explicitly* specify that you *want* it to be started, via either the "HTTP START" configuration file statement, or the "http start" command: * So in summary, the "HTTPPORT" statement is a Hercules 3.x statement, whereas the "HTTP PORT" statement is a Hercules 4.x statement, which requires a separate "http start" command (or configuration file statement). Hope that helps! I learn something new every day.Indeed. The day I myself stop learning new things is the day I've died and gone to my grave. :) -- "Fish" (David B. Trout) Software Development Laboratories mail: fish@... |