how to provide IP address for GITHUB runner windows-latest to open port 22 on my own target machine #163528
Replies: 6 comments
|
Hi @Shailendri-15 , When using the windows-latest GitHub hosted runner, the IP address you need to provide your firewall team to allow port 22 access isn’t fixed—it can change because GitHub Actions runners use dynamic, shared IP addresses managed by Microsoft. Here’s how to proceed: 2.) Provide Firewall Team with the Current Actions IP Ranges: 3.) Automate IP Range Updates: 4.) Implement a scheduled job or script that fetches https://api.github.com/meta regularly. Deploy a self-hosted runner within your network or a cloud VM with a fixed IP. 5.) Test Connectivity Before Finalizing: Hope this helps! |
|
GitHub-hosted runners like windows-latest do not use fixed IP addresses. They run in a shared pool managed by GitHub (via Azure) and their outbound IP addresses are dynamic. However, GitHub provides the public list of possible IP address ranges used by these runners.
|
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
|
Hello everyone . |
|
Got solution by using self-hosted runner . |
|
Closing this discussion as issue is fixed . |
Uh oh!
There was an error while loading. Please reload this page.
Why are you starting this discussion?
Question
What GitHub Actions topic or product is this about?
Misc
Discussion Details
Am doing a POC to deploy dot net application to our own target server using GITHUB windows-latest runner .
I am able to publish the artifact through CICD workflow however stuck to copy this artifact to our own target server .
Need to use scp or sftp method to copy artifact to target server as suggested by Copilot . Hence have asked our firewall team to opne port 22 on target server .Now to open port they need source ip address which is github runners ip address .which IP address I have to provide .
All reactions