The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
registry.npmjs.org ip address range
I would like to know what are the server IP’s of NPM for opening our firewall.
Thanks for getting in touch. We get this question pretty regularly in support. We don’t own the IP ranges; they belong to our CDN provider. These IPs do change, though infrequently.
For this reason, I’d strongly suggest whitelisting based on domain name rather than IP range. You can find more info about the registry domain (
https://registry.npmjs.org/ ) here: https://docs.npmjs.com/misc/registry
184.108.40.206/20 220.127.116.11/22 18.104.22.168/22 22.214.171.124/22 126.96.36.199/18 188.8.131.52/18 184.108.40.206/20 220.127.116.11/20 18.104.22.168/22 22.214.171.124/17 126.96.36.199/15 188.8.131.52/12 184.108.40.206/13 220.127.116.11/22 IPv6: 2400:cb00::/32 2606:4700::/32 2803:f800::/32 2405:b500::/32 2405:8100::/32 2a06:98c0::/29 2c0f:f248::/32
For an updated list of IP addresses from our CDN, please see this link: https://www.cloudflare.com/ips/