Blocking the port 80 in gitlab

How I can block 80 port in GitLab in Linux Ubuntu? It shows it’s listening all the time, I tried command kill but it doesn’t work because pid only changes I also tried to change listen in file /var/opt/gitlab/nginx/conf/gitlab-http.conf from 80 to another and file gitlab.rb but I didn’t find solution.
Thanks for your answers.

Gitlab will normally listen on port 80 so that it can redirect you to https port 443. If you want to disable it, you want to look at /etc/gitlab/gitlab.rb and this option:

# nginx['redirect_http_to_https_port'] = 80

you would want to uncomment it and then change it to something else. Maybe also from the docs: NGINX settings | GitLab

maybe change the nginx['redirect_http_to_https'] = true to false might remove the port altogether.