cmd/go: go module with a private repo on specific port #38213
Comments
The remote import path protocol expects the initial HTTPS (or HTTP) response from the default port (Go package paths are not URLs, and do not include port numbers). The response from that server should include the port (if needed) in the VCS URL that it returns. |
A default port is running another service. I know that Go package paths are not URLs. I don't know that the response from the server is included the port or not. But I had tried to change .gitconfig file to pull Go package by SSH instead of HTTP but it, not work |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
No
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I want to use go mod with a private repo. My GitLab running on port 19547 and GitLab SSH running on port 36000. I try to config git config to specific port but still got an error
What did you see instead?
The text was updated successfully, but these errors were encountered: