in the windows server without giivng inbound role for port 80 and port 443 , i can able to access internet but lin linux server its not possible why

Tamil Selvan M 5 Reputation points
2024-03-12T21:00:59.38+00:00

in the windows server machine without giving inbound role for port 80 and port 443 in nsg group in azure i can able to access internet but in linux server we need to give the nsg inbound rule otherwise its not working why?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,585 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anveshreddy Nimmala 3,535 Reputation points Microsoft Vendor
    2024-03-13T07:12:30.1366667+00:00

    Hello Tamil Selvan M,

    Welcome to microsoft Q&A, Thankyou for posting your query here.

    • Windows servers often come with Windows Firewall settings that automatically let data out. This setup means they don't need any special adjustments to start browsing the web.
    • Essentially, these servers have the green light to start conversations with the internet, bypassing the need to manually set permissions for those outbound chats.
    • When we talk about reaching out to the internet, it's the outbound traffic that really matters, not so much the incoming one.
    • Looking at ports 80 and 443, it's not about the server reaching out but rather letting the outside world in, specifically for web hosting purposes.
    • Flexibility is key with both Windows and Linux systems; they can adapt their security measures to fit what's needed, be it tightening up for more protection or loosening up a bit.
    • If you're on Linux and bumping into connection roadblocks, a good first step is to peek at your firewall rules.

    Hope this helps you.If an answer has been helpful, please consider accepting the answer to help increase visibility of this question for other members of the Microsoft Q&A community. If not, please let us know what is still needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    fea50015-1469-47b5-a1a6-056c9118f9bf

    0 comments No comments