windows-firewall

Windows Firewall dropping Packets

六月ゝ 毕业季﹏ 提交于 2021-01-28 13:05:56
问题 I'm running into some odd behavior trying to configure a highly available remote desktop connection broker scenario. I'm using Windows 2016 and the SQL Server 2016 client connectivity tools (SQL Server Native Client 11.0). During the configuration, it requires a SQL Server connection string, which I've triple checked as correct. When it configured, it does not find the SQL Server. I've isolated the problem to the Windows Firewall and here is what I've discovered: Firewall service disabled:

Windows Firewall dropping Packets

♀尐吖头ヾ 提交于 2021-01-28 13:01:00
问题 I'm running into some odd behavior trying to configure a highly available remote desktop connection broker scenario. I'm using Windows 2016 and the SQL Server 2016 client connectivity tools (SQL Server Native Client 11.0). During the configuration, it requires a SQL Server connection string, which I've triple checked as correct. When it configured, it does not find the SQL Server. I've isolated the problem to the Windows Firewall and here is what I've discovered: Firewall service disabled:

Windows Firewall dropping Packets

只谈情不闲聊 提交于 2021-01-28 12:59:08
问题 I'm running into some odd behavior trying to configure a highly available remote desktop connection broker scenario. I'm using Windows 2016 and the SQL Server 2016 client connectivity tools (SQL Server Native Client 11.0). During the configuration, it requires a SQL Server connection string, which I've triple checked as correct. When it configured, it does not find the SQL Server. I've isolated the problem to the Windows Firewall and here is what I've discovered: Firewall service disabled:

Allowing a program through windows firewall

生来就可爱ヽ(ⅴ<●) 提交于 2020-05-28 07:26:09
问题 I am new to windows Firewall. I have seen this dialog and unable to relate the meaning of it. The above dialog says that "Allow python to communicate on these networks:" . It then gives two checkboxes, one for each Private network and one for Public network. So, my questions are :- 1) What is the difference between Private network and public network ? Which network out of these, does internet belongs to ? 2) what is the meaning of allowing a program to communicate on given network ? Let's

Why doesn't Get-NetFirewallRule show all information of the firewall rule?

吃可爱长大的小学妹 提交于 2020-05-23 10:29:34
问题 I'm trying to find if a firewall rule already existing, with the same name, same configuration, like: localport. So I use Get-NetFirewallRule to list all rules, but the rules returned do not contain the information of port, also some other information are missing. where can I find all the config of a rule. Below is the attributess returned: Name DisplayName Description DisplayGroup Group Enabled Profile Platform Direction Action EdgeTraversalPolicy LooseSourceMapping LocalOnlyMapping Owner

hnetcfg.dll throws BadImageFormatException

风格不统一 提交于 2020-01-05 11:06:09
问题 Executing code that references c:\windows\system32\hnetcfg.dll to manage the Windows Firewall from this question, causes a BadImageFormatException as soon as the DLL is loaded. Opening the 414KB DLL file in NUnit for inspection throws the same exception. I am running Windows 7. Any solutions? 回答1: Solved: ...by setting target platform to x86. 回答2: Is it a 64-bit application trying to reference a 32-bit dll? If so, either get the 64-bit version of the dll or force the application to run in 32

Programmatically modify Firewall rules in Windows Server 2008 R2

假装没事ソ 提交于 2020-01-04 09:07:48
问题 I want be able to programmatically enable, disable, create firewall rules in Windows Server 2008 R2. What is the object model to modify the firewall rules from .Net/PowerShell? 回答1: There is probably a WMI set of classes for this but I wanted to point out that you can use the existing command line utility netsh.exe from PowerShell. Execute: netsh firewall /? To see its options. 回答2: There's also using COM: $fw=new-object -com hnetcfg.fwmgr 来源: https://stackoverflow.com/questions/2231688

Why does the Windows command shell tell me to use a different command and then say that command does not exist?

随声附和 提交于 2020-01-02 06:12:31
问题 In connection with my handheld > server app using Web API RESTful methods problem discussed here (Does an ASP.NET Web API app need to be installed into the "real" IIS before a handheld device can access its RESTful methods?), I tried to verify I wasn't having a firewall problem by using the shell command delineated here: http://www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx, explicitly: netsh firewall add portopening TCP 80 IISExpressWeb enable ALL I also

Enable a Service Fabric Service to send PING to an external host (C#)

偶尔善良 提交于 2019-12-24 19:08:15
问题 I have a method in a Service Fabric Stateless Service (not an API) that sends a PING request to an external host. It works on my Local Service Fabric Cluster, but not on the actual cluster on Azure. I RDP'd to the cluster and pinged hosts, all of them resulted to "Request timed out". Anyone tried this before? I'm playing around the cluster's Firewall. 回答1: ICMP is blocked inside Azure. You can use PSPing to check connectivity though. More info here. Because the ICMP protocol is not permitted