Skip to main content

How to use hcpd by users without privilege

Save hcpd configuration files under your home directory at the following paths.

~/hcpd.conf~/.hcp/hcpd.conf

Change the service ports to port numbers that do not require privilege.

TCPListenAddress 0.0.0.0:1874HPFPListenAddress 0.0.0.0WSSListenAddress 0.0.0.0:8443WSListenAddress 0.0.0.0:8080* Edit hcpd.conf.

If you use a license key, save it under your home directory at the following paths.

~/hcp_license.key~/.hcp/license.key

Start hcpd daemon by running hcpd command and specifying a configuration file, a PID file, and a license key as command options.

hcpd -c ~/hcpd.conf -p ~/hcpd.pid -k ~/hcp_lisense.key

Please be careful of collision of PID files or port numbers of transport services like TCP if hcpd daemon is running.