Tech Tip: Application-specific firewall rules versus Port-specific firewall rules
PRODUCT: 4D | VERSION: 15.2 | PLATFORM: Win
Published On: June 2, 2016
When adding a firewall rule to the builtin windows firewall, the rule can be tied to either an Application or Port(s).
- Application rules are tied to a specific location on the disk, and do not apply to applications that are installed or running from other locations on disk. When installing a new application (or update) to a different location it does not change these firewall rules to use the new location.
- Port rules are tied to specific ports and will allow any application running on the machine to utilize the ports specified. This has the benefit of being able to change the software without needing to update the rules (provided that the same ports are used).
If you are using Application rules be sure to update the rule when changing the version of 4D.
If you are using Port rules be sure that all of the ports required by your application have been properly added to the rule.
The default ports you will probably need are:
- 19812 (SQL; used for 4D Client connections and external SQL; must be opened for 4D Client)
- 19813 (App; used for 4D Client connections; must be opened for 4D Client)
- 19814 (DB4D; used for 4D Client connectionl must be opened for 4D Client)
- 80 (HTTP; used for non-secure web/soap; must be opened if using web or soap on default ports)
- 443 (HTTPS; used for secure web/soap; must be opened is using secure web or soap on default ports).