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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Deploy code to a server behind a firewall

My college provided me with 2 virtual machines, one linux and one windows, I was planning to deploy code from my repository into the linux VM and then windows can access it via a samba shared folder because linux will rn my backend and windows will use pm2 serve build for my spa.

My problem is that both servers are on a closed network, accessible only via VPN that they provide us, Is there any way for me to create a pipeline to deploy that code to my machine in this case? 

And also can I configure it to do some commands like:

npm install -g, npm start 


npm install -g, npm run build, pm2 serve build 3000 --spa

1 answer

1 accepted

1 vote
Answer accepted

Hi @1180778 

Unfortunately, it's currently not possible to access your resources in a private network from Bitbucket Pipelines unless you open up a port and then ssh into the machine to do the deployment.

I have got some good news for you, we are currently working on Bitbucket Pipelines self-hosted runners. This will allow you to execute your Bitbucket Pipelines step in your infrastructure behind a firewall. The current plan is to have a GA in Feb/March 2021. We will be doing an EAP in January, so please fill out the following form if you would like to get involved.



Justin Thomas

Product Manager, Bitbucket

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

2,585 views 1 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you