Questions tagged [windows-firewall]

Questions referring to the firewall that comes built-in with windows. Use this tag only when referring to the firewall that comes with Windows; Other firewalls that run on Windows should contain the two tags [windows] [firewall] instead.

Questions referring to the firewall that comes built-in with windows. Use this tag only when referring to the firewall that comes with Windows; Other firewalls that run on Windows should contain the two tags instead.

495 questions
5
votes
5 answers

Can't connect to SQL 2012 remotely by IP and named instance

First off, I already know that Windows Firewall is blocking my connection -- I just don't know what to do about it. When I turn WF all the way off, my remote connection works. I already have a Rule to allow incoming requests at port 1433, and it…
HerrimanCoder
  • 6,835
  • 24
  • 78
  • 158
5
votes
1 answer

C# HttpListener and Windows Firewall

One of the programs i am working on has a built in webserver, meant to only handle very specific requests (static). Unlike a TcpListener, when the HttpListener is started, The user is NOT prompted to allow which networks the program is allowed to…
Wilson212
  • 543
  • 6
  • 17
4
votes
1 answer

Windows Server 2008 Firewall: "Any IP Address" for remote IP addresses

When creating an inbound rule in the Windows firewall, the documentation included with Windows about the remote IP addresses in under the Scope tab says: Any IP address Select this option to specify that the rule matches network packets that are…
Becca Dee
  • 1,530
  • 1
  • 24
  • 51
4
votes
2 answers

Creating a Packet Filter in C#/C++?

In the past I have written C++ plugins that detoured the recvfrom() function in Winsock and dropped/manipulated incoming traffic from the primary application. I now wish to write a stand-alone application that listens on all interfaces, reads…
user470760
4
votes
1 answer

Windows firewall exception works only when app is run with elevated rights

My application uses Python socket so I had to to add a firewall exception to be able to receive data through sockets. I've frozen the app using PyInstaller to be able to distribute it for Windows computers. To add the firewall exception, I use below…
May.D
  • 1,832
  • 1
  • 18
  • 34
4
votes
0 answers

Firewall opened on port, Test-NetConnection fails

Strange behavior, i working on configuring Kafka broker on my home server PC and trying to connect from another computer over wifi. The firewall port is opened on 9092 using following command netsh advfirewall firewall add rule name="TCP Port 9092"…
ram4sof
  • 365
  • 1
  • 4
  • 14
4
votes
1 answer

Expose WCF service cannot retrieve object through windows firewall

I built a WCF service that exposes itself for a web application, it accepts an object and prints the data on the clients machine. Works fine on my development machine, and the service is up and running on any machine i install it on. I can enter ip…
Keith Beard
  • 1,601
  • 4
  • 18
  • 36
4
votes
2 answers

Required firewall exceptions for accessing Node apps on a LAN

I would like a Express REST API to be accessible over a LAN. From what I understand I will need to make some changes in my firewall to allow this access. I managed to solve this checking the second and last mention of Node.js: Server-side Javascript…
SomeDutchGuy
  • 2,249
  • 4
  • 16
  • 42
4
votes
5 answers

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

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…
dave zhou
  • 59
  • 2
  • 2
  • 5
4
votes
3 answers

How to check if Firewall rule existed

I have a button that's once clicked, it will add a new rule to firewall. BUT the problem is it can be clicked many times and will add many rules. How do I check if the rule exists in Firewall? (or is it possible to check rules?) Here's my code for…
newbieguy
  • 658
  • 2
  • 11
  • 29
4
votes
3 answers

Allowing a program through windows firewall

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…
Mangu Singh Rajpurohit
  • 10,806
  • 4
  • 68
  • 97
4
votes
0 answers

Add to windows firewall exception in standard user

I am trying to add an application to windows firewall exception. I don’t want to give admin privileges to the EXE. I tried netsh command as below. netsh advfirewall firewall add rule name="Myapp" dir=in action=allow program=”C:\Program…
IT researcher
  • 3,274
  • 17
  • 79
  • 143
4
votes
2 answers

how do i configure python/flask for public access with windows firewall

We have developed an app in python and are using flask to expose its api via http requests. all this on WINDOWS - Everything works ok and we have tested in-house with no problems and we are now trying to use the app in the real world - we have…
push 22
  • 1,172
  • 3
  • 15
  • 34
4
votes
3 answers

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

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…
4
votes
1 answer

Coinitialize has not been called error message

I am in the process of coding a console application that will create a firewall exception for my main app called Client.exe which uploads a few documents to our servers via FTP. I borrowed RRUZ code from Delphi 7 Windows Vista/7 Firewall Exception…
Cor4Ever
  • 229
  • 2
  • 7
  • 14