Can’t connect remotely to Ubuntu Server

I am trying to connect to Crate, installed on an Ubuntu Server (without graphical user interface).

Following the documentation I have made these changes:

crate.yml:
network.host: site, local

Environment Variable:
export CRATE_HEAP_SIZE=2g

Any idea what is wrong?

Hi @cfi

  • Are you trying to connect from the same machine or from a remote one?
    • To connect from a remote machine you need to first create a user, that is allowed to do so. The default superuser crate is only allowed to connect from the same host
      also see Create user — CrateDB: How-Tos
  • Is CrateDB running?
    systemctl status crate
    
  • Can you connect from the same machine (e.g. using crash)
  • Do you have ufw enabled?

Hi @proddata

after several tries and the hints in these sites I finally got it running (before your response):

“Are you trying to connect from the same machine or from a remote one?”
Yes

"To connect from a remote machine you need to first create a user, that is allowed to do so. "
That was the problem.
It would be good if this info can be available more prominent in the getting started or in the Post-install notes.

We are currently in the process of reworking the getting started / install section and will take your input into consideration.