Setup Hive ports

For correct work of Hive, it is necessary to open ports 80 and 443 using your network equipment or the Load Balancer of your cloud provider, f.e. Elastic Load Balancing (AWS) or Google Cloud Load Balancing (GCE).

Additionally, you may need to open all ports you use:

  • in your network equipment, f.e. by adding these ports to Security Group (AWS) or to Compute Engine firewall rules (GCE);
  • in the Firewall of your OS (if incoming connections are not allowed by default).

Change default ports

To change default Hive ports:

  1. Open the console of the virtual machine;
  2. Open the /opt/hw-bw/config/user.ini file using the command:

    sudo nano /opt/hw-bw/config/user.ini
    
  3. Add the following parameters to the file, and specify new IP and port, f.e.:

  • for HTTP ports:

    [main]
    b.deck.ip.expose = 127.0.0.0
    b.deck.port.expose = 10001
    
  • for HTTPS ports:

    [main]
    b.deck.https.ip.expose = 0.0.0.0
    b.deck.https.port.expose = 443
    
  1. Save the /opt/hw-bw/config/user.ini file;
  2. To apply changes, run the command:

    /opt/hw-bw/bin/reconfig
    

See also