Instruction
1
Open the main menu in Microsoft Windows operating system by pressing "start". Select "Run" (for Windows OS versions up to XP) and enter in the window the value of cmd. If you have installed Windows Vista and above, the left-side menu, locate the search bar, and enter the same command.
2
Open the context menu of the command line, clicking with the right mouse button. From the list that appears, select "Run as administrator" and enter:- value netsh (for Windows OS versions up to XP);- value netsh advfirewall (for OS Windows Vista or higher).The same value can be entered in the text box and the command interpreter.
3
Don't forget to open ports remotely, you need to have not just an authorized access to your computer, and access with the administrator rights. Log in with an administrator account and enter, for example, in Windows Server 2008 the value netsh advfirewall set machine win2008-2 at the command prompt. Press the Enter key.
4
To open the port, write a command prompt:netsh advfirewall firewall (or netsh)add rule name=имя_приложенияdir=in action=allowprotocol=TCP localport=portnumber.After you have entered the required values, press Enter.
5
Identify the reference and the current configuration of IP address, gateway, subnet mask, and DNS server. To do this, type at the command prompt netsg interface ip show config. Press Enter. Check whether these values previously set (for static IP addresses), and do not change the configuration of the DNS servers (dynamic IP addresses).
6
If you want to check the security level of the IP address and the availability of ports on the computer, use the option enable/disable Windows firewall. To do this, type the following command line: netsh advfirewall set currentprofile command or state on netsh advfirewall set currentprofile command state off and press Enter.