Tips for enabling ports or running programs on Windows Server
Background: When an application, such as an http application, is deployed on a windows server, when the Internet accesses a webpage through the http protocol, the server must be allowed to access the website, the webpage content can be normally displayed in the visitor's browser. Otherwise, the webpage cannot be displayed normally. The results are similar to the following:
So how can we establish inbound rules for normal webpage access?
Generally, when testing a website, we disable the windows Firewall. After all, disabling the Firewall makes access impossible. As shown in:
When we officially deploy a website, windows Firewall should be enabled, and only some access rules can be set to make programs and webpages accessible normally.
Setting access rules is simple. In "Control Panel \ Windows Firewall \ Advanced Settings", add inbound rules. (This example uses windows server 2008 R2 as an example.)
Select one path by default. Next step. The program and port of the server can be normally accessed from outside.