How to enable incoming and outgoing world wide web traffic in IIS
I'm writing this post to jot down all the things I need to do during cloudy ASP.NET website deployments.
- Get the database connector
- Re-Publish project
- Grab that awesome URL rewrite module
- Set IIS_IUSRS and app pool free
- Check that your application pool refers to correct version of .NET
- Get re-certified - obviously it's a new server, right?
- Import and install certificate
- Import the same in IIS
Related videos on Youtube
xameeramir
Updated on September 18, 2022Comments
-
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
- I have enabled WWW firewall settings
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:
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
As per Kamran's comment, I have checked the firewall rules and there seems to be the issue:
The http traffic doesn't seems to be allowed.
How do I change it?
-
Taz almost 9 yearsCan you paste a screenshot of your IIS binding config for the site?
-
xameeramir almost 9 yearsHi @Taz - what is IIS binding config?
-
Croid almost 9 yearsWhat Taz is getting at is to check if you have properly setup the web application in IIS (app pool, hostname, IP bindings, etc.).....
-
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. almost 9 yearsHave you checked the firewall setting on that cloud server? Maybe you are blocked by firewall.
-
xameeramir almost 9 yearsI have set enabled http and https.
-
Kamran almost 9 yearsis your issue resolved?
-
xameeramir almost 9 yearsWow!! You are a Google guy ;) Nice initiative!!
-
Kamran almost 9 yearsCan 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 almost 9 years@Kamran - It doesn't seems to be opened. I have updated my question.
-
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 over 7 years@George - I've posted the answer