$ vim /var/opt/gitlab/postgresql/data/postgresql.conf listen_addresses = '*' port = 5432