How to enable incoming and outgoing world wide web traffic in IIS

6,115

To do

courtesy

I'm writing this post to jot down all the things I need to do during cloudy ASP.NET website deployments.

source

Share:
6,115

Related videos on Youtube

xameeramir
Author by

xameeramir

Updated on September 18, 2022

Comments

  • xameeramir
    xameeramir almost 2 years

    Goal: Access website hosted on a remote cloud's IIS via web-browser.

    Case: I wanted to open my IIS server (Windows server 2012 virtual machine hosted on Google compute engine) so that the website running locally on it becomes accessible via WWW.

    As per EdSf's comment I need to make some firewall changes initially. So

    Internal traffic is enabled

    But when I go to that Virtual machine's external IP address, the website is not loading.

    Update: Tried allowing remote connections in IIS and I believe this opened IIS to WWW.

    The binding config for the site looks like this:

    IIS binding config

    I have enabled both 80 and 443 ports

    Now it's running fine on SSL port 443 (except it lacks a SSL certificate). I am unable to access it through http port 80

    site not loading

    As per Kamran's comment, I have checked the firewall rules and there seems to be the issue:

    Http traffic not allowed

    The http traffic doesn't seems to be allowed.

    How do I change it?

    • Taz
      Taz almost 9 years
      Can you paste a screenshot of your IIS binding config for the site?
    • xameeramir
      xameeramir almost 9 years
      Hi @Taz - what is IIS binding config?
    • Croid
      Croid almost 9 years
      What Taz is getting at is to check if you have properly setup the web application in IIS (app pool, hostname, IP bindings, etc.).....
    • Taz
      Taz almost 9 years
      @xameeramir - In IIS select the site in the tree on the left and screenshot the whole thing (you can blur some information if needed). We can go from there.
    • David S.
      David S. almost 9 years
      Have you checked the firewall setting on that cloud server? Maybe you are blocked by firewall.
    • xameeramir
      xameeramir almost 9 years
      I have set enabled http and https.
    • Kamran
      Kamran almost 9 years
      is your issue resolved?
    • xameeramir
      xameeramir almost 9 years
      Wow!! You are a Google guy ;) Nice initiative!!
    • Kamran
      Kamran almost 9 years
      Can you verify if your HTTP service is accessible internally from the Windows? Is the port 80 for TCP protocol opened in the GCE firewall and allowed from any source (0.0.0.0/0)?
    • xameeramir
      xameeramir almost 9 years
      @Kamran - It doesn't seems to be opened. I have updated my question.
    • George
      George over 7 years
      @student it looks like you were able to resolve your issue, as I was able to access the link that you provided in your question. Is it possible to post the answer so other people can benefit from it
    • xameeramir
      xameeramir over 7 years
      @George - I've posted the answer