windows-firewall

Error Executing Batch file of BlazeDS

喜欢而已 提交于 2019-12-12 06:38:43
问题 I'm trying to see samples of BlazeDs in my web brower as shown in the tutorial on this webpage. After I have started tomcat i open the localhost link 8400/samples in my browser as shown below.After entering the url i get the following page in my browser.. After that i try to start the sample database according to the instructions given in a box at the starting of the webpage. After i run the specified command on my command prompt i get the following error message.. I can't seem to understand

NetTcpBinding and Windows 7 firewall

末鹿安然 提交于 2019-12-12 05:48:59
问题 I have an wcf winforms self-hosted app using nettcpbinding.(net.tcp://aaa.homeip.net:9388) The problem is windows 7 firewall, I added the exception on the inbound and outbound list (port 9388) but still doesnt work(even if the client is in the same machine)...I also tried to add Distributed Transaction Coordinator on the program list like this hint but no success... Everything works fine when firewall is disabled. 回答1: Add/enable Windows Communication Foundation Net.TCP Listener Adapter (TCP

Built-In Windows Firewall: Lock outgoing connections?

匆匆过客 提交于 2019-12-11 22:45:38
问题 By default, the Windows Firewall seems to block incoming (locally created listen sockets) connections by default. They can then be permitted per exe file. Is it possible to configure something similar for outgoing connections? So Windows would ask whether to allow or deny an exe's outgoing connections. We are considering creating a custom GUI to enable or disable this functionality, if available. It is a lower-cost option compared to creating our own firewall. I would like to know about XP

C# API to test if a network Adapter is firewalled

吃可爱长大的小学妹 提交于 2019-12-11 11:49:00
问题 Given - .Net 2.0 XP machine with SP2 and multiple network adapters Is there an API that can be used to check if the network adapter is firewalled? OneGuyInDC 回答1: Give this c# code below a go. It works for Windows 7 (& Vista) and XP. This will get the status of, and enable/disable the Windows firewall for the current profile, eg: Home/Domain/Public access networks. Usage: getFirewallStatus() --> returns true/false for whether the windows firewall is enable/disabled. setFirewallStatus

Windows 7 Firewall: Modify group items from command line

折月煮酒 提交于 2019-12-11 10:25:03
问题 I am creating an interface that allows the user to manage (among other things) the Windows Firewall. The GUI that comes with Windows looks like this My GUI is written in Java and uses the netsh advfirewall firewall commands to read the current settings and to save changes. Some of the items are single records in the firewall. The "Windows Remote Management" item however, is one of the "grouped" items. This is a combination of multiple items. Here is one of those items in the combination. Rule

Inno Setup detect Windows Firewall state

社会主义新天地 提交于 2019-12-11 09:48:58
问题 I need to detect the Windows Firewall state (i.e. whether it is enabled or not) in order to display a message warning that a Firewall rule may need to be configured to allow inbound connections on specific ports when the Firewall is enabled, but not when it isn't. See below code example: [Code] //Check if Windows Firewall is enabled function IsWindowsFirewallEnabled(): Boolean; begin //Method required here Result := True; end; function NextButtonClick(CurPageID: Integer): Boolean; begin /

WiX Installer: how to add Firewall exception rule?

亡梦爱人 提交于 2019-12-11 06:11:35
问题 I install my windows service using WiX installer. It adds Firewall exception: <File Id="file_1000_" Checksum="yes" Vital="yes" KeyPath="yes" Source="$(var.SourceFiles)\MyService.exe"> <fwrules:FirewallException Id="FirewallDomainMySvcTCP" Name="My Service Domain TCP" Protocol="tcp" Port="[PORTNUMBER]" Scope="any" IgnoreFailure="yes" Profile="domain" /> My service is a windows host for a few WCF services. Then I run a query from other workstation to the service, it cannot connect. I go to

Does a firewall on a machine only block stuff from outside the machine or also from processes on the machine?

泄露秘密 提交于 2019-12-11 00:08:49
问题 Does a firewall running on a machine only block stuff from outside that machine, or do they block communication between processes on a machine communicating via ports? Specifically, I'm writing a windows service which will expose an http RESTful service for other processes on the machine. The service will be running on a non-standard port in the dynamic/private range - ie not port 80 or similar. Do I need to worry about any firewall that might be running on the machine? This will be deployed

How do you add firewall permission to an app during installation?

泪湿孤枕 提交于 2019-12-10 17:55:18
问题 I've heard that you can, during installation, add an exception for your app to give permission for it to access the internet through the firewall. Anyone know how to do this? 回答1: The alternative in many cases is to suggest that users disable the firewall entirely or ok the prompt Windows raises when your server ports begin to listen. Both of these are bad options: one risks leaving the machine open to anything and the other trains them to approve security prompts uncritically. You could

c# UPnP not seems to be work?

笑着哭i 提交于 2019-12-10 11:42:59
问题 I have a c# peer-2-peer project where my application should configure UPnP in users devices to open a port and listen to UDP datagrams , I used NATUPnP.dll Com assemply to map a new Endpoints as the following : NATUPNPLib.UPnPNATClass upnpnat = new NATUPNPLib.UPnPNATClass(); NATUPNPLib.IStaticPortMappingCollection mappings = upnpnat.StaticPortMappingCollection; mappings.Add(20000, "UDP", 20000, "192.168.8.102", true, "Local Web Server"); foreach (NATUPNPLib.IStaticPortMapping portMapping in