Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket pipeline ip whitelisting issue

Tagnpin November 13, 2022


I am using the bitbucket pipeline to run our unit test cases.

In my package.json file, I am using the project host on bitbucket with the IP whitelisting enabled security.

I also whitelisted the IP mentioned on the bitbucket portal

IPv4:,, and

IPv6: 2406:da00:ff00::0/96


Still getting the error while installing npm packages.

ERROR: npm ERR! remote: To access this repository, an admin must whitelist your IP.


PFA for your reference

Screenshot 2022-11-14 at 12.36.20 PM.png


1 answer

0 votes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 14, 2022


I would suggest reading the following documentation for IP addresses that need to be whitelisted - particularly the section "Valid IP addresses for Bitbucket Pipelines build environments" and whitelist these accordingly:

You can determine the exact IP address for a given build by adding the following to your pipelines YML - this should be a part of the list linked above:


Hope this helps.


- Ben (Bitbucket Cloud Support)

Tagnpin November 15, 2022

Thanks, Ben I have whitelisted entire Valid IP addresses for Bitbucket Pipelines build environments.

Now its working

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events