# vim /etc/gitlab/gitlab.rb postgresql['listen_address'] = '*' postgresql['port'] = 5432