By: Gabi Botos user 23 Apr 2020 at 1:05 p.m. CDT

5 Responses
Gabi Botos gravatar
I successfully installed Gluu Server on a Ubuntu server and received the following logs: Installing [#################################] Completed Encrypted properties file saved to /install/community-edition-setup/setup.properties.last.enc with password ******** Decrypt the file with the following command if you want to re-use: openssl enc -d -aes-256-cbc -in setup.properties.last.enc -out setup.properties Gluu Server installation successful! Point your browser to https://demoexample1.gluu.org After I set in /etc/hosts, IP and url pair, I access https://demoexample1.gluu.org from my machine and I got refused to connect error. Can someone help me finding a solution to start the server? Thank you!

By Michael Schwartz Account Admin 23 Apr 2020 at 4:01 p.m. CDT

Michael Schwartz gravatar
Trying to restart the service never hurts. Are you sure the server has enough resources, i.e. 4GB RAM and 2 CPU.

By Aliaksandr Samuseu staff 23 Apr 2020 at 4:24 p.m. CDT

Aliaksandr Samuseu gravatar
Hi, Gabi. It's not pefectly clear what kind of environment your run, but I will guess you install Gluu Server at a Linux virtual machine you run locally, and then you try to access it from your host OS? Or may be you install it on a rented (cloud) VPS, and try to access remotely? In both cases you need to ensure that you actually can reach TCP port 443 at your vm or VPS. There may be firewall rules that block your connection there, or lack of network connectivity at all. You can install `nc` or `ncat` at the machine where you run your browser, and run something like this `# nc -w 3 -v demoexample1.gluu.org 443` If you see no errors, it's probably open. Double-check you used the correct ip in hosts file as well.

By Aliaksandr Samuseu staff 23 Apr 2020 at 4:26 p.m. CDT

Aliaksandr Samuseu gravatar
Reinstalling is also an option, of course. But first try to stop the container, and start again. Also, double-check your vm or VPS meets our [system requirements](https://gluu.org/docs/gluu-server/4.1/installation-guide/#system-requirements).

By Gabi Botos user 24 Apr 2020 at 1:34 a.m. CDT

Gabi Botos gravatar
Thank you for replaying. Yes I got 4 RAM and 2 CPU. OS - Distributor ID: Ubuntu - Description: Ubuntu 18.04.2 LTS - Release: 18.04 - Codename: bionic It's a cloud server which I access remotely Those are some logs I got: - About Ip and url path: Do you acknowledge that use of the Gluu Server is under the Apache-2.0 license? [N|y] : y Enter IP Address [116.203.21.25] : 116.203.21.25 Enter hostname [static.25.21.203.116.clients.your-server.de] : demoexample1.gluu.org - Settings: hostname demoexample1.gluu.org orgName Airportlabs os ubuntu city Cluj state CJ countryCode RO Applications max ram 4000 Install oxAuth True Install oxTrust False Backends wrends Java Type jre Install Apache 2 web server False Install Shibboleth SAML IDP False Install oxAuth RP False Install Passport False Install Casa False Install Oxd False Install Gluu Radius False - Hosts file root@localhost:/install/community-edition-setup# cat /etc/hosts 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters 116.203.21.25 demoexample1.gluu.org - nc command output root@localhost:/install/community-edition-setup# nc -w 3 -v demoexample1.gluu.org 443 nc: connect to demoexample1.gluu.org port 443 (tcp) failed: Connection refused Thank you one more time!

By Mohib Zico staff 13 May 2020 at 10:25 a.m. CDT

Mohib Zico gravatar
Hi Gabi, Most probably your 443 incoming is not open. Please check VM's firewall and/or with vendors. ``` [ronin.DESKTOP-EKI3KFL] ➤ telnet 116.203.21.25 443 Trying 116.203.21.25... telnet: Unable to connect to remote host: Connection timed out [ronin.DESKTOP-EKI3KFL] ➤ ``` Please reopen ticket if required.