What network ports must be accessible for GitHub Enterprise Server to function properly for HTTPS and Git access?
Select an answer to reveal the explanation.
Short Explanation and Infographic
GHES needs a few open doors: port 80 (HTTP redirect), port 443 (HTTPS web and HTTPS Git), and port 22 (SSH Git operations). The Management Console lives on port 8443, but that's admin-only traffic.
Full explanation below image
Full Explanation
For GitHub Enterprise Server to function for standard user operations, the following ports must be accessible: Port 80 (HTTP) — redirects to HTTPS, Port 443 (HTTPS) — web application and HTTPS Git clone/push/pull, Port 22 (SSH) — Git operations over SSH, and optionally for cloning via SSH. The GHES Management Console uses port 8443 (HTTPS) for administrative access, which should be restricted to admin networks only. Port 9418 is the Git protocol port (git://) which is not recommended for production use and is typically disabled. High Availability replication uses additional ports. Organizations using SSH but on a non-standard port can configure GHES to listen on alternate SSH ports.