Through online search methods to be told that modify later vim/etc/gitlab gitlab.
in rbExternal_url, but directly to modify the IP for the network, after the restart gitlab don't have access to the
How should match can make clone http://localhost:8080/test.git into public IPclone http://119.61.21.182:28080/test.git
CodePudding user response:
Solved, our way of SSH didn't also the way to use should be open portsCodePudding user response:
How solve the building Lord, I also encountered such a problem, trying to build the gitlab, public domain mapping on external_url, outside under the network environment can't pull operation code,CodePudding user response:
1. The first network IP git access normal can2. When the router mapping, configure the router port mapping, can guarantee the SSH connection, is ok,
CodePudding user response:
Directly modify the configuration file:Sudo vim/opt/gitlab/embedded/service/gitlab - rails/config/gitlab yml
# # GitLab Settings
Gitlab:
# # Web server Settings (note: the host is the FQDN, do not include http://)
Host: 119.1.1.181
Port: 28080
HTTPS: false
And then restart the gitlab:
Sudo gitlab - CTL restart
CodePudding user response:
Is again next time you're reconfigure change forced backCodePudding user response: