gitlab-jh试用版离线安装后报502问题

离线安装gitlab-jh(版本15.2.0)在私网环境,修改gitlab的external_url为私网IP:端口,以及puma[‘listen’],puma[‘port’],并对/var/opt/gitlab/gitlab-rails授写入权限,启动后仍然报502,gitlab-ctl tail看日志发现以下错误:
==> /var/log/gitlab/gitlab-workhorse/current <==
{“correlation_id”:"",“duration_ms”:0,“error”:“badgateway: failed to receive response: dial unix /var/opt/gitlab/gitlab-rails/sockets/gitlab.socket: connect: connection refused”,“level”:“error”,“method”:“GET”,“msg”:"",“time”:“2022-07-27T09:55:05+08:00”,“uri”:""}

2022-07-27_01:29:13.28749 /opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/puma-5.6.2/lib/puma/binder.rb:341:in `initialize’: Address already in use - bind(2) for “127.0.0.1” port 8080 (Errno::EADDRINUSE)
请问如何解决,谢谢!

报错里提示8080端口已经被其他服务占用了?

我改了端口到8089,没用8080端口。

我查了一下,之前环境不再试用的沙盒系统网关8080 占用了,kill掉重启gitlab后登录正常了。谢谢,问题可以关了。