How to disable ports 80 and 443. How to open a Windows port

While the program is running, the computer and servers exchange data on the network through activated open ports. To ensure connection and create network access for PC programs, it is useful for each user to know how to open ports on Windows 7. They can be thought of as special paths for connecting the PC to World Wide Web resources. For example, without them it is impossible to participate in an online game or contact a specific server.

Ports 80 and 443

They are open by default, so regular user can learn about their existence only after problems with Internet access appear. The vast majority of Internet pages are opened using No. 80. There are ports that have a specific purpose, for example, No. 443. Often some program displays a message to the user about the need to enable No. 443.

Main reasons for port closures

Usually the cause of this problem is your computer's firewall or firewall. Almost all PCs are equipped with the Firewall utility. 80 and 443 are very rarely on the list of closed ones, but it happens that it is your own firewall that does not allow access to the network. Sometimes access to it is closed by the network administrator or it is simply not listed in the router.

To find out and eliminate the true cause, you will need to study in detail the operation of a particular computer on the network.

General step-by-step instructions

In order to solve this problem, it is necessary to perform the following actions:

Thus, the procedure for opening ports on Windows 7 is not a difficult task and does not require much time at all. You just need to enter the data carefully.

Other reasons

If the user managed to find out the reason, for example, some ports were closed by the network administrator, then in this case there are only two ways to eliminate the inconvenience: 1. talk to management or 2. talk to the network administrator.

If you have problems with the router, you will need to study the device manual. There is no unambiguous instruction suitable for all models of router devices, because a lot depends on the developer software router.

windowsTune.ru

What is port 443 and how to open it?

As a rule, people learn about the existence of such a thing as a closed port not under the most pleasant circumstances. Most often this happens when any computer program refuses to work properly. A message about the need to open port 443 may appear in the program window. It can also be found on the forum dedicated to this problem. In any case, we invite you to delve a little deeper into this topic and, accordingly, understand what port 443 is, how to open it and whether it needs to be done.

What are these “ports” anyway?

The fact that every computer has its own IP address on the network is hardly something little known today. At the same time, most users know practically nothing about the so-called “ports”.

So, to understand the essence of the term “port”, it is worth imagining a long building with a huge number of doors. To be more consistent with reality, the number of these doors should be 65,536, and each door should have its own serial number, starting from zero. In this case, the large building is your computer located on the network, and the ports are these very doors.

Why are so many ports needed?

Most of them are nothing special and are used for different purposes. For example, when you download a file or watch movies online, your computer establishes a connection between any of its free ports and the port of the server from which you receive information. As soon as the data transfer ends, the port is released.

At the same time, some (including port 443) have very clear purposes. For example, 99.99% of sites are viewed through port No. 80. That is, when you want to go to, for example, Odnoklassniki, your computer “knocks” on door No. 80 of the Odnoklassniki server and asks to give it a page.

What is port 443?

As you might have guessed, our port also has a special purpose, otherwise why would we devote an entire article to it? However, we have already talked about its purpose - this port is also most often used for browsing websites, but while its 80th colleague provides information as it is, port 443 first encrypts it, so that no one will be on the long path from the server to your computer I couldn’t intercept the page, much less make changes to it.

Previously available of this port only Internet banking systems that did not want to disclose information about monetary transactions resorted, while today the same Odnoklassniki or VKontakte use the “safe” port in the most ordinary cases, for example, when you view your messages or “like” » other people's photos.

Why might the port be closed?

So why might port 443 be closed? There are several possible reasons for this:

  • access to it is blocked by a firewall program (or firewall);
  • the port may be blocked by your network administrator;
  • the port may not be “registered” on the router.

When you say that port 443 is closed, you can mean several things: firstly, it may mean that a program on your computer cannot access the server port, and secondly, a computer from outside cannot access the port on your computer . Each of these cases, as well as the reasons for its occurrence, require a fairly detailed consideration, so do not expect us to detailed instructions. However, we can tell you where to dig.

How to open a port in a firewall?

Let's start with something simple - a firewall program. This application available on every modern computer and is used to prevent programs from crashing anywhere. Despite the fact that port 443 is rarely included in the blocked list, it still makes sense to add it to the allowed list. Let's look at how this can be done using windows 7/8/8.1 as an example.

To open port 443, you need to do the following:

  1. Open Control Panel. Universal method to do this, press the Win + R keys, enter the word control in the window that appears and click “OK”;
  2. Make sure the right top corner display mode enabled " Large icons"(see picture above), then click on the item "Windows Firewall";
  3. Now you have several scenarios for further actions: either you disable the firewall completely, or let full access your program.

A window similar to this should appear on your screen:

To disable the firewall, click on “Turn Windows Firewall on or off.” It's on the left, in the middle of the list. Next, you should set all the switches to the positions that are circled in the following figure, and then click the “OK” button. Once the problem is resolved, we would recommend returning everything to its original position. After all, if you leave the firewall disabled, there is a certain risk that various “nasties” that get onto your computer will be able to report this to their creator and begin actions that are of little use to you.

To add a specific program to the allowed list and allow it access to port 443, as well as any others, select the option circled in red in the picture above. In the list that appears, you should find an application that does not want to work properly, and then check all the boxes next to it. So you will give operating system opportunity to understand that this program can “communicate” both with your home devices and with the whole world. Our “operation” ends with an elegant click on the “OK” button and closing all now unnecessary windows.

What to do if the port is closed by the administrator?

How to open ports 443, 80, 21, etc. if they were blocked system administrator? This question most often worries office workers who cannot use the usual program at their workplace. In this case, there are only two options for solving the problem: if the program is needed for work, you can contact the management or the administrator personally, so that he will provide you with the opportunity to work fruitfully, but if the program is needed for entertainment, then you can only come to terms with it or look for approaches to a bearded guy in a sweater. Hint: admins eat and drink, no matter how strange it may sound.

How to open a port on a router?

If you decide to create your own home computer small web or mail server, then when asked how to open ports 443, 80, 110, 25 and others, you should refer to the instructions for your router. Unfortunately, there is no single answer to this question, since the solution to this problem depends on the equipment manufacturer, the device control panel and many other factors.

fb.ru

How to open port 443 in windows, in a minute

Good afternoon, dear readers and guests of the blog, we continue to study safety in operating rooms Microsoft systems, last time we solved the problem with the long search for Windows 7 updates, installed them and now the system is more protected from outside world, in today’s article I will touch on such a topic as what ports are and how to open port 443 in Windows in a minute. This material will be useful for system administrators and developers.

What are ports in windows

Let me try to explain in simple terms what a port is. Let's imagine a large microdistrict with big amount multi-storey buildings, each of them has apartments with residents, a total of 65,536, each apartment has its own unique serial number. Now let’s imagine that you need to get to your friend Vasya, who lives in apartment 1443, what are you doing? Go to the right house with that apartment number, then you need to drop by Marina, who lives in apartment 80, and now imagine that instead of you this your computer and instead of your friends, these are ports. Each such port is unique and is responsible for responding to the user for a specific service, for example,

  • 80 is http service, which responds to you when you request site pages
  • 1433 is the SQL service port
  • 443 - https is an encrypted version of http, using SSL certificates.

From the above, there are two types of ports:

  1. Rigidly reserved for certain services. These are ports that are used exclusively by certain programs. The range of such ports is from 0-1024, but there are also higher ones, the same 1433 for SQL or 55777 Vipnet.
  2. Dynamic, used for the user's everyday things. This is the range after 1024, and they are used, for example, in the following context: download a file, your computer uses one port, watch an online movie, your computer uses a second port, and so on. As soon as the data transfer ends, the port is released.

Ports are also very often associated with sockets, which I have already talked about, I advise you to take a look.

What is port 443?

As I wrote above, it is most often used in two things, the first is, of course, the overwhelming number of sites operating using the https protocol on 443 ports, and the second is in encrypted data transmission channels. About 5 years ago, it was used mainly by online banks and online stores where they paid with electronic cards, but now search engines, they are trying and pushing all webmasters to transfer their resources to the 443 connection.

Why might the port not work?

Let's look at the question. For what reasons might port 443 be closed?

  • By default, when you just installed Windows, all external ports are closed by default from the security policy, and this is correct. They are blocked by the built-in Windows firewall program or by a simple firewall.
  • Your network administrator could have blocked the required port, since he has mechanisms such as group policy or access to a proxy server.
  • Socket 443 is blocked on the router

If port 443 is closed, this means that:

  • If your computer has a program or utility that connects to port 443, it will not be able to do this
  • A computer from outside will not be able to access the service hosted by you, for example, a website.

How to open port 443 on windows 7, 8.1 and 10

I will tell you how to open port 443 on Windows 7, but everything described below will be relevant and can be done one to one on modern Windows 10 operating systems and server editions. Procedure:

  • Press Win+R and enter firewall.cpl, this is a shortcut to the firewall snap-in, full list see the commands here.

  • Select the classic view with large icons in the upper right corner and click on the firewall icon.
  • If you need to quickly test a 443 connection, then I advise you to completely disable the firewall, especially if time is of the essence; to do this, open the corresponding item.

To disable, select the appropriate items, in fact, now all Windows 7 ports will be open. After testing, do not forget to turn everything on.

Now the correct option is to go to the advanced firewall settings. You will be taken to enhanced security mode, this is where you can open port 443 windows.

  • Go to "Rules for incoming connections", if you need to be connected to you via a 443 connection, if you need to be able to connect, provided that it is closed, then select "Rules for outgoing connections". Right-click and select "Create Rule"
  • Here we are interested in two points, the first is “For the program”, it is convenient because you allow a specific program all connections through the firewall, the disadvantage is that if it has dependent programs, it may not work completely or will not work at all, the second option for a port, it’s convenient because once you open the required port, you don’t need to think about which program you should allow it for. A simple example: you use socket 80, at first it worked on Apache, then you replaced it with IIS, you didn’t have to change anything in the firewall.

  • If you chose the first item with the program, then you need to specify the path to it, to the exe file.

  • We indicate the action, in this case “allow”, since we do not need to open port 443.

  • Next, we indicate which network profile it will be applied to, domain is for local networks organizations, private for home networks, and public for the outside world.

  • We all set a name for the rule being created and click ready.

If you made a mistake or something changed, you can always change the settings through properties.

How to open port 443 on windows 7 via command line

When you get used to it and you get tired of clicking the same type of windows in the windows firewall or you want to automate everything, then this will help you, command line launched with administrator rights. You need to run the following command:

netsh advfirewall firewall add rule name="Open port 443-2" protocol=TCP localport=443 action=allow dir=IN

  1. netsh advfirewall firewall add rule - adding a rule
  2. name - name
  3. protocol - protocol type
  4. localport - port to open
  5. action - action
  6. dir - connection type (incoming or outgoing)

Let's check the addition of our rule.

What to do if the port is closed?

Now we are talking. about situations when the 443 connection is blocked by the system administrator or Internet provider. In both cases, you need to contact higher authorities and tell them that you need to open port 443 windows; you won’t be able to do it on your own. Still very a common question, it happens how to do all the same actions on network devices, there is no definite answer, since everyone does this differently, study the documentation. From my own experience, I can say for sure that providers like to lock 25 SMTP connections to prevent spam from being sent. I am sure that you now know how to open everything and will be able to use it in practice.

pyatilistnik.org

How to open port 80 in windows 7,8 and windows 10

Port 80 in most operating systems is “binded” to the HTTP server. Operating systems from Microsoft were no exception - windows 7, 8 and even latest news- windows 10. Therefore, you can’t just open it in the firewall. This requires dancing with a tambourine. I’ll tell you which ones specifically now. Windows has a kernel-level driver - http.sys, which processes http requests and “listens” to everything that comes on port 80. It is this driver that will prevent anything else from working through this port. What to do?

The easiest way is to trick http.sys. The fact is that any modern operating system supports both the old TCP/IPv4 protocol and the new one - TCP/IPv6, which is still gaining momentum, but is not as widespread as its predecessor. So, by default, the driver works with the fourth version of the protocol. And we will make it work with IPv6. To do this, launch the command line with administrator rights and write the command in it:

netsh http add iplisten ipaddress=::

With this we tell http.sys to work with the IPv6 address 0:0:0:0:0:0:0:0, which for brevity is written as two colons - “::”. Next you need to open the system HOST file(again with administrator rights), which is located at:

C:\windows\System32\drivers\etc\hosts

And add the line in it:

After this you need to reboot and you can check. Port 80 must be available.

Other solutions to the problem

If the first method does not help, you can try the following:

1. Start by scanning your system with an antivirus. Sometimes the nasty thing that has settled on the computer also tries to open port 80 in Windows so that it can spread further.

2. Disable the IIS Embedded Web Server. This is done like this - press the Win+R combination, enter the gpedit.msc command and thus open the list of services. Disable IIS, reboot and check the availability of port 80.

3. The last resort is editing the registry. I want to warn you in advance that after these steps problems may arise with the printer (if, of course, you have one connected). Launch the registry editor regedit and edit the branch:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP

In it you need to change the value of the Start parameter from 3 to 4. Reboot and check. Did not help? Then we will disable http manually in the registry. To do this, open the same registry branch again and create a DWORD (32-bit) parameter named NoRun. We set its value to 1. Reboot again and check.

set-os.ru

How to open ports on windows 7

For correct operation of programs in windows environment 7 and other operating systems from Microsoft that require access to the Internet and more, so-called ports are provided. Thanks to them, the user can decide for himself which program to give access to the local network or the Internet by opening or blocking the ports used by the program. For example, in order not to be unfounded, on the official website Skype messenger it says that for the program to work correctly in the firewall, you must open ports “443/TCP”, “3478-3481/UDP” and “49152-65535/UDP+TCP”, in otherwise he will block them with the ensuing consequences. The same applies to browsers that actively use port 80. Based on this, in this topic we will look at how to open ports on Windows 7 for certain tasks and whether it is worth doing.

Opening ports in Control Panel

  1. Open the Control Panel, set the view to “Category” and open the “System and Security” item.
  1. Now select “Windows Firewall”.
  1. On the left click “Advanced options”. You should be prompted to “Open as administrator.”
  1. The Windows Firewall in mode window will open. increased security", where you need to select "Rules for incoming connections" on the left, and click on "Create a rule" at the top right.
  1. Select the item “For port”.
  1. Enter the port number, for example, 443 and click “Next”.
  1. Click “Allow connection” and select “Next” again.
  1. In the “Profile” window, you can leave all the checkboxes. Click “Next”.
  1. Enter a custom name for the rule. Click “Finish”.

Now the one we just created will appear on the computer in the list of rules.

If you want to delete it, press the “Delete” key and confirm your choice.

Please note: ports may often be closed by your provider, so no manipulation without his participation will produce results. You can check whether a specific port is open on the website Speed-tester.info.

How to open ports via command line

Any system task has an option to enable and configure it via the command line. The difference is that this method is more suitable for experienced users. To do this, open a command line with administrator rights and enter the command “netsh advfirewall firewall add rule name=L2TP_TCP protocol=TCP localport=xxxx action=allow dir=IN”, where instead of the value “xxxx” we enter the number of the required port.

How to check open ports?

You can view open ports in the same command line. Run it again as administrator and enter the command “netstat –a”. By clicking on “Enter” the program will display a list of all open “TCP” and “UPD” ports.

  • Established – the port is open and in use. Typically, there is some value in the external address field;
  • Time_wait – port in standby mode;
  • Listening – the port is listening.

No special program is required to open ports. However, if you are interested in third-party utilities, then install “Simple Port Forwarding”. Its only drawback is that it is shareware.

Not everyone knows how to open ports on Windows 7, 8, 8.1, but many PC users have probably heard about them. However, for some online games or programs that require Internet access, opening additional connections becomes necessary. Sometimes you need to open or check already open ports.

A port is a specific numeric code that allows the system to exchange data with hosting providers from the Internet. This is a kind of path that helps the necessary data to be checked and reached with remote server exactly to your computer, exactly to the address.

Some applications do not require opening an additional connection, since it is already open. But for some closed resources, games (for example, Minecraft), this has to be done manually.

Opening methods

Easiest general way

Most available method pretty simple. Below is an algorithm of actions that need to be performed:

  • In the “Control Panel” we find the “System and Security” item, then open “Windows Firewall”.

Open Windows Firewall

  • Select "Advanced options"
  • In the window that appears, select “Rules for incoming connections” (left column).


Select “Rules for incoming connections”

  • Next, you need to create a rule, click on the corresponding icon.
  • Rule type “For port”, click the “Next” button, put a marker on “TCP Protocol” and enter the number (you need to check it exactly). Click “Next” again.


Place a marker on “TCP Protocol”

  • Leave all the checkboxes - they determine which profiles the rule will apply to.


Leave all the boxes ticked

  • Then you will need to come up with a name and, if you require it, a description. Click “Finish”.


Specifying a name

That's it - you have a new rule, now the computer will be able to connect to the desired server.

Connection for the program

This method may be required if the previous one was unable to provide the required application with the required network activity. That is, simply, required program still doesn't connect to the internet.

  1. According to the previous algorithm, we get to the place where we need to select the type of rule, select the type of rule “For program”
  2. Place a marker on the “Program Path”, select using the “Browse” button, or manually enter the program address.
  3. Click “Next” and check “Allow connection”.
  4. Then we repeat everything we did with the previous method.

As a result, this program will be allowed to connect to the network.

By itself, it can often block many connections, so in some cases you can simply try disabling it. However, if you do not have any antivirus installed on your computer, then using the Internet with the firewall disabled can be dangerous for your computer.

To disable the firewall, you just need to go into it, select the “Turn Windows Firewall on or off” option, check the “Turn off Windows Firewall” option in the settings settings and click “OK”.


Examination

You don't always need to drive new number and choose a protocol, sometimes it is enough to know how to check if a port is open. This can be done using a special command. First, enter “cmd” (without quotes) in the command line (opened by pressing Win+R), then click “OK”, and in the window that appears, enter the command “netstat -a”. Then a list of all will appear open protocols. This way it is easy to check their quantity. Such a check can be carried out on various free Internet services, which will also provide this information.

It's quite easy to open new connections or disable blocking them altogether. These restrictions, with small skills, will not prevent you from gaining access to the necessary information or data from the Internet. Now, if necessary, you can both open a port on your computer and check which ones are open.

Good afternoon, dear readers and guests of the blog, we continue to study security in Microsoft operating systems, last time we solved the problem with a long search Windows updates 7, installed them and now the system is more protected from the outside world, in today’s article I will touch on such a topic as what are ports and how open port 443 in windows, in a minute. This material will be useful for system administrators and developers.

What are ports in Windows

Let me try to explain in simple terms what a port is. Let's imagine a large microdistrict with a large number of multi-storey buildings, each of them has apartments with residents, a total of 65,536, each apartment has its own unique serial number. Now let’s imagine that you need to get to your friend Vasya, who lives in apartment 1443, what are you doing? Go to the right house with that apartment number, then you need to drop by Marina, who lives in apartment 80, and now imagine that instead of you this your computer and instead of your friends, these are ports. Each such port is unique and is responsible for responding to the user for a specific service, for example,

  • 80 is an http service that responds to you when you request site pages
  • 1433 is the SQL service port
  • 443 - https is an encrypted version of http, using SSL certificates.

From the above, there are two types of ports:

  1. Rigidly reserved for certain services. These are ports that are used exclusively by certain programs. The range of such ports is from 0-1024, but there are also higher ones, the same 1433 for SQL or 55777 Vipnet.
  2. Dynamic, used for the user's everyday things. This is the range after 1024, and they are used, for example, in the following context: download a file, your computer uses one port, watch an online movie, your computer uses a second port, and so on. As soon as the data transfer ends, the port is released.

Ports are also very often associated with sockets, which I have already talked about, I advise you to take a look.

What is port 443?

As I wrote above, it is most often used in two things, the first is, of course, the overwhelming number of sites operating using the https protocol on 443 ports, and the second is in encrypted data transmission channels. About 5 years ago, it was used mainly by online banks and online stores, where they paid with electronic cards, but now search engines are trying and pushing all webmasters to transfer their resources to the 443 connection.

Why might the port not work?

Let's look at the question. For what reasons might port 443 be closed?

  • By default, when you first installed Windows, all external ports are closed by default as part of the security policy, and this is correct. They are blocked by the built-in Windows Firewall program or by a simple firewall.
  • Your network administrator could have blocked the required port, since he has mechanisms such as group policy or access to a proxy server.
  • Socket 443 is blocked on the router

If port 443 is closed, this means that:

  • If your computer has a program or utility that connects to port 443, it will not be able to do this
  • A computer from outside will not be able to access the service hosted by you, for example, a website.

How to open port 443 on windows 7, 8.1 and 10

I will tell you how to open port 443 on Windows 7, but everything described below will be relevant and can be done one to one on modern Windows 10 operating systems and server editions. Procedure:

  • Press Win+R and enter firewall.cpl, this is a quick call to the firewall snap-in, a complete list of commands.


  • Or you can use the classic way, which is to open the "Start" button and

  • Select the classic view with large icons in the upper right corner and click on the firewall icon.


  • If you need to quickly test a 443 connection, then I advise you to completely disable the firewall, especially if time is of the essence; to do this, open the corresponding item.


To disable, select the appropriate items, in fact, now all Windows 7 ports will be open. After testing, do not forget to turn everything on.


Now the correct option is to go to the advanced firewall settings. You will be taken to enhanced security mode, this is where you can open port 443 windows.


  • Go to "Rules for incoming connections", if you need to be connected to you via a 443 connection, if you need to be able to connect, provided that it is closed, then select "Rules for outgoing connections". Right-click and select "Create Rule"


  • Here we are interested in two points, the first is “For the program”, it is convenient because you allow a specific program all connections through the firewall, the disadvantage is that if it has dependent programs, it may not work completely or will not work at all, the second option for a port, it’s convenient because once you open the required port, you don’t need to think about which program you should allow it for. A simple example: you use socket 80, at first it worked on Apache, then you replaced it with IIS, you didn’t have to change anything in the firewall.


  • If you choose the second option, then specify the TCP or UDP protocol (for greater security)


  • If you chose the first item with the program, then you need to specify the path to it, to the exe file.


  • We indicate the action, in this case “allow”, since we do not need to open port 443.


  • Next, we indicate which network profile it will be applied to: domain for local networks of organizations, private for home networks, and public for the outside world.


  • We all set a name for the rule being created and click ready.


If you made a mistake or something changed, you can always change the settings through properties.


How to open port 443 on windows 7 via command line

When you get the hang of it and you get tired of clicking the same type of windows in the Windows Firewall or you want to automate everything, the command line running with administrator rights will help you with this. You need to run the following command:

netsh advfirewall firewall add rule name="Open port 443-2" protocol=TCP localport=443 action=allow dir=IN

  1. netsh advfirewall firewall add rule - adding a rule
  2. name - name
  3. protocol - protocol type
  4. localport - port to open
  5. action - action
  6. dir - connection type (incoming or outgoing)


Let's check the addition of our rule.


What to do if the port is closed?

Now we are talking. about situations when the 443 connection is blocked by the system administrator or Internet provider. In both cases, you need to contact higher authorities and tell them that you need to open port 443 windows; you won’t be able to do it on your own. Another very common question is how to do all the same actions on network devices; there is no definite answer, since everyone does this differently, study the documentation. From my own experience, I can say for sure that providers like to lock 25 SMTP connections to prevent spam from being sent. I am sure that you now know how to open everything and will be able to use it in practice.

How to open a port on routers various models I have already written quite a few articles. But in the comments to almost each of these instructions, I come across a situation where the user opens a port on the router, but when checking it from the outside, it turns out that it is closed. Many people run into this and don’t know what to do next. One of common reasons is a computer security system. The point here is that opening a port on the router is often half the battle - you also need to open it in the firewall rules on the computer. In this article, I will detail how to open a port in Windows 7, Windows 8 and Windows 8.1 using the built-in Windows firewall.


Setting up a firewall in operating rooms Windows systems 7, Windows 8 and Windows 8.1 are almost identical, as is the procedure for creating port forwarding rules.

How to get into Windows Firewall settings

Setting up the built-in firewall is located in the “Control Panel”, section “System and Security”.
In Windows 8 and 8.1, you can use the desktop element - Search. You need to start typing the word “Firewall” and the system will display a link in the results.
Another quick and convenient way to quickly get into the Firewall settings is to press the Win+R key combination:


In the open line we write firewall.cpl and click OK.

How to open a port in Windows Firewall.

In the built-in firewall settings, follow the “Advanced settings” link:


You will see the Firewall settings section in enhanced security mode. In the field on the left, click on the “Rules for incoming connections” section:


A list of all rules for incoming connections will open. Now we need to create a rule. To do this, on the right, in the “Actions” window, click on the “Create rule” link.
The Create a Rule for a New Incoming Connection Wizard will open:


Select the rule type - “For port”. Click the Next button.


Now you need to select the protocol type and specify the port. The "Protocol Type" for games is usually "TCP Protocol". In some cases, for example, for file-sharing programs or games, you also need to open the UDP port. Therefore, if you need to open both a TCP port and a UDP port in Windows, you will have to create two rules. In the Specific ports field, you need to specify the number of the required port. For example, for Minecraft you need to open port 25565 and TCP and UDP. Click the Next button.


Check the “Allow connection” checkbox. Click the Next button.



In the Name field, enter a name for the rule being created - for example DC++ or Minecraft. Click the Finish button.


The rule has been created and the port in the Windows 7 and Windows 8 firewall is open . You can check the availability of a port from outside using the PFPortChecker program.

If, when checking, the port is closed, then you can try this option: allow the application any network activity. To do this, again create a rule in the settings:


Only now not for the port - but “For the program”. Click the Next button.


Select “Program Path” and click the Browse button. In the window that opens, you need to select the program that you need access to from the external network - for example, UTorrent, DC++ or Minecraft. Click the Next button.


Check the “Allow connection” checkbox. Click the Next button.


In this window, without changing anything, click Next.


In the name field, enter the name of the rule - for example, dc++, utorrnet or minecraft and click the Finish button.


A rule for the program has been created.
If this does not help, you can try to completely disable the firewall built into the system for the purity of the experiment.

How to disable Firewall in Windows 7, Windows 8 and Windows 8.1

In order to disable the firewall built into the system, you need to select “Turn Windows Firewall on or off” in the Firewall settings:


You will see the following window “Settings parameters for each type of network”:


For all types of networks, check the “Turn off Windows Firewall” checkbox. Click OK. After this, the firewall will become inactive and your operating system will be completely open to threats from the external network. Therefore, I recommend disabling the firewall either only briefly, to diagnose problems with external port accessibility, or if you are switching to another, third-party packet filter (firewall). Full time job on the Internet with a disabled firewall (firewall) is extremely undesirable.

When does it become necessary to open a Windows port? Then, when the built-in program network protection computer - Windows Firewall, also known as Firewall, blocks the operation of a particular application. Often, such bans include games that require Internet access or other useful programs. To open a port, do the following.

You can change the firewall settings in the corresponding section of the “Control Panel”, from where you need to go to the “System and Security” section, and then to “Windows Firewall”. Or press the “Win ​​+ R” combination and enter “firewall.cpl” in the “Run” window that opens, and you will quickly be taken to the desired page. In the latest versions of Windows, you can find the desired program or the “Control Panel” section through “Search” in the desktop menu. Then you are only interested in the “Advanced Settings” section, located on the left side of the settings window. Then, in the Windows Firewall with Advanced Security window, find Inbound Rules and click on them. A list of existing rules will appear, but you will have to create a new one. To do this, click Create Rule in the Actions window (located on the right side of the screen).


Now the Connection Wizard will help you configure the port, sequentially asking you to set its parameters. In the “Rule Type” window, you need to select “For Port” and click “Next”. In the "Protocols and Ports" window, define two parameters - protocol type and port. If you know the specific port number you need, enter it in the "Specified local ports" column. It is also acceptable to indicate a range, for example, 1244-1250. As for the protocol, TCP is usually required, but sometimes a UDP port is also needed. In this situation, you will need to create two rules in turn. Clicking “Next” will take you to the next stage of settings.


Select “Allow connection” in the “Action” window, click “Next”, and without changing the parameters in the next “Profile” window, click “Next” again.


The last step is to come up with a name for the port and, if desired, a description, since after a while you may not remember what kind of port it is. And don't forget about the "Done" button.


The procedure for opening a port is exactly the same for Windows Vista, 7, 8 and 8.1. If you have Windows XP, you can get to the necessary settings through “Start” - “ network", then you need to click " Network tasks" - " View network connections". Right-click on the Internet connection icon and select “Properties” - “Advanced” - “Options”. Open a new port by clicking “Add”, then enter the name or IP address of the port in the appropriate field. Enter the port numbers (any numbers) in the “External port” and “Internal port” fields, then the port type and click “Ok”.


For security reasons, remember to close ports when they are no longer needed.

If you are an avid gamer or an active user of file-sharing networks such as DC++ and torrent, then you know that for the client program to work, you must additionally open the port. At the same time, everyone knows that this needs to be done on the router, but for some reason they forget about the fact that the operating system used also has a firewall or firewall. This instruction is devoted to the question of how to open ports on Windows 10.
To do this, you must first go to Control Panel and select the “Windows Firewall” section.


In the menu on the left, select “Advanced options”.

A complete list of rules for the firewall built into Windows 10 will appear.


In order to open a port, you need to add a rule for it. This is done using the “Action”>>>”Create Rule” menu section.

This will launch the Rule Creation Wizard for a new incoming connection. The first step is to select the type of rule:


Select the “For port” option. Click on “Next”.

The next step is to select the protocol (TCP or UDP) and specify the port to which the rule will be applied:


The protocol type for different games and applications can be either TCP or UDP, or even both at once. You need to find out about this on their support forum. Let's move on.

The third step is choosing an action. Since we want to open a port on Windows 10, we check the “Allow connection” checkbox.


The next point is to select the profile for which the rule will be applied. Let's select all three.


At the last stage, you need to enter the name of the rule. As it, you can use the name of the application or game for which Windows port forwarding is being done.


Click on the “Done” button.

The rule has been created. It will be the first in the table of already existing (read open ports).


Attention! If your system uses a third-party firewall or firewall, then port forwarding will need to be done in their settings. Otherwise, it will still be inaccessible from the outside.

As a rule, people learn about the existence of such a thing as a closed port not under the most pleasant circumstances. Most often this happens when a computer program refuses to work properly. A message about the need to open port 443 may appear in the program window. It can also be found on the forum dedicated to this problem. In any case, we suggest you delve a little deeper into this topic and, accordingly, understand what port 443 is, how to open it and whether it needs to be done.

What are these “ports” anyway?

The fact that every computer has its own IP address on the network is hardly something little known today. At the same time, most users know practically nothing about the so-called “ports”.

So, to understand the essence of the term “port”, it is worth imagining a long building with a huge number of doors. To be more consistent with reality, the number of these doors should be 65,536, and each door should have its own serial number, starting from zero. In this case, the large building is your computer located on the network, and the ports are these very doors.

Why are so many ports needed?

Most of them are nothing special and are used for different purposes. For example, when you download a file or watch movies online, your computer establishes a connection between any of its free ports and the port of the server from which you receive information. As soon as the data transfer ends, the port is released.

At the same time, some (including port 443) have very clear purposes. For example, 99.99% of sites are viewed through port No. 80. That is, when you want to go to, for example, Odnoklassniki, your computer “knocks” on door No. 80 of the Odnoklassniki server and asks to give it a page.

What is port 443?

As you might have guessed, our port also has a special purpose, otherwise why would we devote an entire article to it? However, we have already talked about its purpose - this port is also most often used for browsing websites, but while its 80th colleague provides information as it is, port 443 first encrypts it, so that no one will be on the long path from the server to your computer I couldn’t intercept the page, much less make changes to it.

Previously, the services of this port were used only by Internet banking systems that did not want to disclose information about monetary transactions, while today the same Odnoklassniki or VKontakte use the “safe” port in the most ordinary cases, for example, when you are browsing your messages or “like” other people’s photos.

Why might the port be closed?

So why might port 443 be closed? There are several possible reasons for this:

  • access to it is blocked by a firewall program (or firewall);
  • the port may be blocked by your network administrator;
  • the port may not be “registered” on the router.

When you say that port 443 is closed, you can mean several things: firstly, it may mean that a program on your computer cannot access the server port, and secondly, a computer from outside cannot access the port on your computer . Each of these cases, as well as the reasons for its occurrence, require quite a detailed consideration, so do not expect detailed instructions from us. However, we can tell you where to dig.

in the firewall?

Let's start with a simple one - a firewall program. This application is available on every modern computer and is used to prevent programs from crashing anywhere. Despite the fact that port 443 is rarely included in the blocked list, it still makes sense to add it to the allowed list. Let's look at how this can be done using Windows 7/8/8.1 as an example.

To 443, you need to do the following:

  1. A universal way to do this is to press the Win + R keys, enter the word control in the window that appears and click “OK”;
  2. Make sure that the “Large icons” display mode is turned on in the upper right corner (see the picture above), then click on the “Windows Firewall” item;
  3. Now you have several scenarios for further actions: either you disable the firewall completely, or you give full access to your program.

A window similar to this should appear on your screen:

To disable the firewall, click "Turn Windows Firewall on or off." It's on the left, in the middle of the list. Next, you should set all the switches to the positions that are circled in the following figure, and then click the “OK” button. Once the problem is resolved, we would recommend returning everything to its original position. After all, if you leave the firewall disabled, there is a certain risk that various “nasties” that get onto your computer will be able to report this to their creator and begin actions that are of little use to you.

To add a specific program to the allowed list and allow it access to port 443, as well as any others, select the option circled in red in the picture above. In the list that appears, you should find an application that is not working properly, and then check all the boxes next to it. This will give the operating system the opportunity to understand that this program can “communicate” both with your home devices and with the whole world. Our “operation” ends with an elegant click on the “OK” button and closing all now unnecessary windows.

What to do if the port is closed by the administrator?

Like 443, 80, 21, etc. if they were blocked by the system administrator? This question most often worries office workers who cannot use the usual program at their workplace. In this case, there are only two options for solving the problem: if the program is needed for work, you can contact the management or the administrator personally, so that he will provide you with the opportunity to work fruitfully, but if the program is needed for entertainment, then you can only come to terms with it or look for approaches to a bearded guy in a sweater. Hint: admins eat and drink, no matter how strange it may sound.

How to open a port on a router?

If you decide to create a small web or mail server on your home computer, then when asked how to open ports 443, 80, 110, 25 and others, you should refer to the instructions for your router. Unfortunately, there is no single answer to this question, since the solution to this problem depends on the equipment manufacturer, the device control panel and many other factors.

SSH/HTTPS/OpenVPN/Telegram and all on one port?! What?!
- Yes!
  • Do you want to hide the presence of some services?
  • In public wi-fi networks Is everything blocked except port 443 (https)?
  • Have you set up Telegram Proxy/OpenVPN and don’t want to expose it?
  • SSH connection to your server from censored countries?

There is only one answer to all these questions - Multiplexing SSL/TLS connections, or SSLH.

In this post we will look at how hide a bunch of services behind 1 port in 1 command.

Why?

With the recent release of Telegram Proxy which almost completely looks like SSL traffic there was an interesting question in the comments to:
:
After a quick check of the capabilities of the sslh application, it seemed to me that it would not be possible to “start” it, but I was very interested in this application, and, as it turned out, it is still possible to cross a snake with a hedgehog.

How?

The SSLH application is a multiplexer, in other words, it analyzes traffic (effectively doing mini-DPI work) and depending on the type of traffic, directs it to local port 8443/999/991 or any other...

Which allows us to use DPI technology for the first time for the benefit of.

Task

For an example of using SSLH, let's pose the following problem:

The following applications are installed on the server - Telegram Proxy, Apache, SSH and we want to launch all these services into the world through port 443.

The server in our example is Ubuntu 16.04.4 LTS, Apache2 + LetsEncrypt, SSH, Telegram Proxy in Docker.

On this moment, Apache runs on it, as expected.

Installation & Setup

Let's install SSLH:

Sudo apt-get install --no-install-recommends sslh
During installation you will be asked about the mode of use, there are two of them:

  • stable but more resource-intensive
  • fast, but with loss of connections when the process crashes
I am for the second option, you, of course, can choose another.

Let's check if our miracle works with the following command:

Sudo sslh-select -f --listen IP:8443 --tls 127.0.0.1:443 --ssh 127.0.0.1:22 --anyprot 127.0.0.1:9443
IP - external IP of the server
8443 - port on which our multiplexer will be launched
443 - where Apache lives
Pay attention to the anyprot option - this is where our Telegram Proxy will live, in other words, if the traffic does not fit any type, send it there.

Attention! If your configuration does not include Telegram or SSH, remove unnecessary launch keys.

Shall we check?

Open a browser to the address of your server with port 8443 - you should see a response from Apache, then try connecting via SSH or via Telegram Proxy.

Moving Apache to a different port

To migrate Apache from the standard port (443) to another, such as 7443, visit the following files:

Sudo nano /etc/apache2/ports.conf sudo nano /etc/apache2/sites-enabled/000-default-le-ssl.conf
In the example, Apache+SSL/HTTPS was installed using LetsEncrypt with a different certificate configuration files may be along other routes.

Autorun

It's time to set up autorun.

Let's edit the file:

Sudo nano /etc/default/sslh
In field DAEMON_OPTS= add attributes when running the sslh-select command, set RUN to =yes.

Let's run:

Sudo systemctl start sslh
Let's make sure everything is fine:

Sudo systemctl status sslh

What's the result?

After completing this tutorial, you should have a server with several services available through a single port. (which ones are your choice).

How's it going with OpenVPN? What other protocols does the application support?

At the time of writing this post, sslh can detect and multiplex the following protocols:
[--ssh ] [--openvpn ] [--tinc ] [--xmpp ] [--http ] [--ssl ] [--tls ] [--anyprot ]
Before use, it is better to make sure which protocols it supports yours version, (suddenly it’s newer) using:

Sslh-select -h

Links

SSLH development takes place on github, in this repository: github.com/yrutschle/sslh

Docker

I was not able to build a working version of sslh in Docker along with all other services, in my opinion it will be interesting docker-compose file that can be raised on port 443:
  • Apache + LetsEncrypt
  • Telegram Proxy
  • OpenVPN (optional)
  • Use local SSH

If someone succeeds, write in the comments and we will add it to the article, in my opinion, it will be useful.

Internet