Skip to main content

How To Open Firewall Ports In Windows

A firewall is an essential aspect of computing and no PC should ever be without one. That’s why Windows has one bundled and active as standard. Windows Firewall occasionally has to be told to let a program communicate with the network, which is where opening ports comes in. If you want to open firewall ports in windows here’s how you do it.


Firewalls are designed to protect a network from threats. Either threats from the outside trying to get in or threats from the inside trying to get out. It does this by blocking network-enabled ports. Every time a program tries to communicate through this port, the firewall checks its database of rules to see if it is allowed or not. If it doesn’t know, it asks you, which is why you sometimes see prompts asking you if a particular program is permitted to access the internet.

Windows 10 Settings
Windows 10 Settings
Open firewall ports in Windows 
You can manually permit a program to access the internet by opening a firewall port. You will need to know what port it uses and the protocol to make this work.

  1. Navigate to Control Panel, System and Security and Windows Firewall.
  2. Select Advanced settings and highlight Inbound Rules in the left pane.
  3. Right click Inbound Rules and select New Rule.
  4. Add the port you need to open and click Next.
  5. Add the protocol (TCP or UDP) and the port number into the next window and click Next.
  6. Select Allow the connection in the next window and hit Next.
  7. Select the network type as you see fit and click Next.
  8. Name the rule something meaningful and click Finish.

Comments

Popular posts from this blog

how to Install MySQL Server on Ubuntu cloud serve

Install MySQL Install the MySQL server by using the Ubuntu package manager: sudo apt-get update sudo apt-get install mysql-server The installer installs MySQL and all dependencies. After installation is complete, the  mysql_secure_installation  utility runs. This utility prompts you to define the mysql root password and other security related options, including removing remote access to the root user and setting the root password. Allow remote access If you have iptables enabled and want to connect to the MySQL database from another machine, you must open a port in your server’s firewall (the default port is 3306). You don’t need to do this if the application that uses MySQL is running on the same server. Run the following command to allow remote access to the mysql server: sudo ufw allow mysql Start the MySQL service After the installation is complete, you can start the database service by running the following command. If the service is already started,...

spring boot sql server 2008 connection

first add the dependence in pom.xml file <dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>mssql-jdbc</artifactId> <scope>runtime</scope> </dependency> then we can add the below mention configuration in application.property file spring.datasource.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver spring.datasource.url =jdbc:sqlserver://localhost:1433;databaseName=pos spring.datasource.username = sa spring.datasource.password = sa spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.SQLServer2008Dialect then check the MS-SQL syntax for entity creation.