IP Address Changes
As we continue to expand the infrastructure that powers GitHub, we want to make everyone aware of some changes to the IP addresses that we use. Most customers won’t have…
As we continue to expand the infrastructure that powers GitHub, we want to make everyone aware of some
changes to the IP addresses that we use. Most customers won’t have to do anything as a result of these
changes.
We mentioned these new addresses
back in April and updated the
Meta API to reflect them. Some GitHub services have
have already been migrated to the new addresses, including:
- api.github.com
- gist.github.com
- ssh.github.com
Our next step is to begin using these IP addresses for the main GitHub site, so we’re reminding everyone
about this change. There are a few gotchas that might affect some people:
- If you have explicit firewall rules in place that allow access to GitHub from your network, you’ll want to make sure that all of the IP ranges listed in this article are included.
- If you have an entry in your
/etc/hosts
file that points github.com at a specific IP address, you should remove it and instead rely on DNS to give you the most accurate set of addresses. - If you are accessing your repositories over the SSH protocol, you will receive a warning message each time your client connects to a new IP address for github.com. As long as the IP address from the warning is in the range of IP addresses in the previously mentioned Help page, you shouldn’t be concerned. Specifically, the new addresses that are being added this time are in the range from
192.30.252.0
to192.30.255.255
. The warning message looks like this:
Warning: Permanently added the RSA host key for IP address '$IP' to the list of known hosts.
Thanks for your patience and continued support as we work to make GitHub faster and more reliable!
Written by
Related posts
![](https://github.blog/wp-content/uploads/2023/09/screencapture-innovationgraph-github-2023-09-20-15_44_54-1.png?resize=400%2C212)
How researchers are using GitHub Innovation Graph data to estimate the impact of ChatGPT
An interview with economic researchers who are applying causal inference techniques to analyze the effect of generative AI tools on software development activity.
![](https://github.blog/wp-content/uploads/2024/01/Enterprise-DarkMode-1.png?resize=400%2C212)
GitHub Availability Report: June 2024
In June, we experienced two incidents that resulted in degraded performance across GitHub services.
![](https://github.blog/wp-content/uploads/2024/06/AI-DarkMode-4.png?resize=400%2C212)
Advancing responsible practices for open source AI
Outcomes from the Partnership on AI and GitHub workshop.